From cc7ace9857e63325af142eb23d3c75744b286932 Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Thu, 21 Sep 2023 19:12:30 +0200 Subject: [PATCH 1/2] Update build_and_test.yml --- .github/workflows/build_and_test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index a603527..cec8998 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -39,3 +39,17 @@ jobs: run: cargo build --verbose # - name: Run tests # run: cargo test --verbose + linux: + runs-on: Linux-latest + steps: + - uses: actions/checkout@v3 + - name: install cxxbridge + run: cargo install cxxbridge-cmd + - name: install cargo-make + run: cargo install cargo-make + - name: Compile test + run: cargo make build_test + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose From 26d257a71a6ac37e769dd684f4a80d7bf4fb6e01 Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Thu, 21 Sep 2023 22:25:09 +0200 Subject: [PATCH 2/2] Update build_and_test.yml --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index cec8998..27725f2 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -40,7 +40,7 @@ jobs: # - name: Run tests # run: cargo test --verbose linux: - runs-on: Linux-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: install cxxbridge