From 9d55a829d4b21e25746361a03b69a87465fef328 Mon Sep 17 00:00:00 2001 From: tokatoka Date: Sun, 22 Jan 2023 09:57:51 +0900 Subject: [PATCH 1/4] add macOS --- .github/workflows/windows.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml deleted file mode 100644 index 88e329f..0000000 --- a/.github/workflows/windows.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: build and test - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -env: - CARGO_TERM_COLOR: always - -jobs: - build: - - runs-on: windows-latest - - steps: - - uses: actions/checkout@v3 - - uses: ilammy/msvc-dev-cmd@v1 - - 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 a9fb517422d296f189034bc5ae2e86cfb0cede4d Mon Sep 17 00:00:00 2001 From: tokatoka Date: Sun, 22 Jan 2023 10:10:14 +0900 Subject: [PATCH 2/4] add --- .github/workflows/build_and_test.yml | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/build_and_test.yml diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml new file mode 100644 index 0000000..11b154c --- /dev/null +++ b/.github/workflows/build_and_test.yml @@ -0,0 +1,41 @@ +name: build and test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + - uses: ilammy/msvc-dev-cmd@v1 + - 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 + macos: + runs-on: macOS-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 12664d204c4856d055d76542480b086b1c3db5d6 Mon Sep 17 00:00:00 2001 From: tokatoka Date: Sun, 22 Jan 2023 10:11:29 +0900 Subject: [PATCH 3/4] space --- .github/workflows/build_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 11b154c..e1839e6 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -37,5 +37,5 @@ jobs: run: cargo make build_test - name: Build run: cargo build --verbose - -name: Run tests - run: cargo test --verbose + - name: Run tests + run: cargo test --verbose \ No newline at end of file From 7049e52c1337f03164f865d6a28ae877c6ffbca5 Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Sun, 22 Jan 2023 13:16:07 +0900 Subject: [PATCH 4/4] Update build_and_test.yml --- .github/workflows/build_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index e1839e6..a603527 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -37,5 +37,5 @@ jobs: run: cargo make build_test - name: Build run: cargo build --verbose - - name: Run tests - run: cargo test --verbose \ No newline at end of file + # - name: Run tests + # run: cargo test --verbose