Skip to content

Commit

Permalink
[WIP] make it compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Wanja Zaeske committed Sep 6, 2022
1 parent 522b287 commit 88f6f6b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ main ]

env:
C_INCLUDE_PATH: $GITHUB_WORKSPACE/include

jobs:
format:
runs-on: ubuntu-latest
Expand All @@ -24,6 +27,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Extract XNG headers
run: echo "${{ secrets.XNG_HEADER_0 }}" | base64 --decode > XNG_HEADER_0;
echo "${{ secrets.XNG_HEADER_1 }}" | base64 --decode > XNG_HEADER_1;
cat XNG_HEADER_0 XNG_HEADER_1 | tar --zstd -xv
- uses: actions/cache@v2
with:
path: |
Expand All @@ -37,12 +44,16 @@ jobs:
target: x86_64-unknown-linux-gnu
override: true
- name: Run tests
run: cargo test --verbose
run: cargo test --no-default-features --verbose

clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Extract XNG headers
run: echo "${{ secrets.XNG_HEADER_0 }}" | base64 --decode > XNG_HEADER_0;
echo "${{ secrets.XNG_HEADER_1 }}" | base64 --decode > XNG_HEADER_1;
cat XNG_HEADER_0 XNG_HEADER_1 | tar --zstd -xv
- uses: actions/cache@v2
with:
path: |
Expand Down

0 comments on commit 88f6f6b

Please sign in to comment.