From c532c74a8207204a7266c9765e19dcbded266e66 Mon Sep 17 00:00:00 2001 From: Cooper Quintin Date: Fri, 26 Jan 2024 16:58:41 -0800 Subject: [PATCH 1/2] Create rust.yml create file for github CI --- .github/workflows/rust.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..4db37d4 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo debug_pc --verbose + - name: Run tests + run: cargo test_pc --verbose From 4d2fa02b0a0428afeb63d4b60f2c3754dbde7eb9 Mon Sep 17 00:00:00 2001 From: Cooper Quintin Date: Mon, 29 Jan 2024 16:46:20 -0800 Subject: [PATCH 2/2] Update rust.yml --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4db37d4..d0ba238 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,6 +17,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: cargo debug_pc --verbose + run: cargo build_pc --verbose - name: Run tests run: cargo test_pc --verbose