Skip to content

Commit

Permalink
temp idea
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Oct 22, 2024
1 parent b1fe0fa commit 37074a7
Showing 1 changed file with 6 additions and 29 deletions.
35 changes: 6 additions & 29 deletions .github/workflows/sterile-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,7 @@ permissions:
packages: read
id-token: write
jobs:
fetch:
runs-on: ubuntu-latest
timeout-minutes: 180
container:
image: ghcr.io/githedgehog/dpdk-sys/dev-env:main-rust-pinned
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- name: Checkout
uses: actions/checkout@v4
- name: persist source code
uses: actions/upload-artifact@v4
with:
name: source
path: ${{ github.workspace }}
include-hidden-files: true
retention-days: 1
compression-level: '0'
compile:
needs:
- fetch
runs-on:
- lab
strategy:
Expand All @@ -47,16 +24,16 @@ jobs:
- stable
- pinned
container:
image: ghcr.io/githedgehog/dpdk-sys/compile-env:${{ matrix.dpdk_sys }}-rust-${{ matrix.rust }}
image: ghcr.io/githedgehog/dpdk-sys/dev-env:${{ matrix.dpdk_sys }}-rust-${{ matrix.rust }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- name: build source
uses: actions/download-artifact@v4
with:
name: source
run-id: "github-token"
- name: Checkout
uses: actions/checkout@v4
- run: just --yes rust=${{matrix.rust}} refresh-compile-env
- run: just cargo build
- run: just cargo test
- run: just cargo build --release
Expand Down

0 comments on commit 37074a7

Please sign in to comment.