Skip to content

Commit

Permalink
Perf & switch to Ubuntu-20.04 with g++-11
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed May 1, 2023
1 parent 97747a2 commit 5739486
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/rust_build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Test

on:
push:
Expand All @@ -11,19 +11,19 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get install -y libseccomp-dev protobuf-compiler
run: sudo apt-get install -y libseccomp-dev protobuf-compiler g++-11
- name: Setup g++-11
run: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100
- name: Check ENV
run: echo $(rustup --version && gcc -v && g++ -v)
run: echo $(rustup --version && g++ -v)
- name: Build test dist
run: cd test-collection && ./build.sh && cd ..
- name: Build target
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose -- --nocapture

0 comments on commit 5739486

Please sign in to comment.