Skip to content

Commit

Permalink
feat(ci): update docker deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
zcabter committed Oct 7, 2024
1 parent 205aa5d commit a2a0725
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,23 @@ env:
jobs:
build-kernel:
name: Build (Kernel)
runs-on: ubuntu-latest
runs-on: [x86_64, linux, nix]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/[email protected]
- name: Rust setup
# FIXME: Once rustup adds a command to install a toolchain from rust-toolchain.toml, we can remove this.
run: rustup toolchain add 1.73.0 --profile minimal
- run: nix --version
- name: Format
run: nix --accept-flake-config fmt -- --fail-on-change
- name: Prevent blst
run: nix --accept-flake-config develop -j auto --command sh -c '[ -z "$(cargo tree | grep blst)" ]'
- name: Build
run: nix --accept-flake-config --log-format raw -L build -j auto .#{all,js_jstz}
# - uses: Swatinem/[email protected]
# - name: Rust setup
# # FIXME: Once rustup adds a command to install a toolchain from rust-toolchain.toml, we can remove this.
# run: rustup toolchain add 1.73.0 --profile minimal

- name: Build kernel
run: make build-kernel
# - name: Build kernel
# run: make build-kernel
- name: Upload kernel
id: upload-kernel
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a2a0725

Please sign in to comment.