[CI] Re-enable CI builds
@@ -48,3 +48,35 @@ jobs:
python3 scripts/build_os_toolchain.py
echo "Toolchain built successfully"
+ - name: Build Rust toolchain
+ shell: bash
+ run: |
+ # Build kernel headers as libutils depends on these
+ # python3 scripts/build_kernel_headers.py
+ # We need to build libutils, since the rust libc links against it
+ # python3 scripts/build_meson_projects.py --only_build libutils
+ python3 scripts/build_rust_toolchain.py --rebuild_libc
+
+ - name: Build OS image
+ shell: bash
+ run: |
+ git submodule update --init --recursive
+ # PT: For nasm in CI
+ python3 scripts/install_dependencies.py
+ # Build userspace headers as the kernel depends on file_manager definitions
+ python3 scripts/build_userspace_headers.py
+ # Finally, compile the kernel and build the OS image
+ python3 scripts/build_os_image.py --no_run
+ # Run Rust tests
+ python3 scripts/build_rust_toolchain.py --test
+
+ - name: Update nightly release
+ uses: swift-project/github-release@2.0
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ tag: nightly-${{ github.sha }}
+ files: axle.iso
+ allow_override: true
+ prerelease: false
+ commitish: ${{ github.sha }}
+ gzip: false
