From d6a328dab8e40a83f9e6292f7a62bef2097b75b9 Mon Sep 17 00:00:00 2001 From: Daniel Oom Date: Sat, 16 Mar 2024 11:38:19 +0100 Subject: [PATCH] Replace C++ CI with Rust CI --- .dockerignore | 2 -- .github/workflows/c++-ci.yaml | 20 -------------------- .github/workflows/rust.yaml | 22 ++++++++++++++++++++++ 3 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 .dockerignore delete mode 100644 .github/workflows/c++-ci.yaml create mode 100644 .github/workflows/rust.yaml diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 775c1b31..00000000 --- a/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -out_*/ -Dockerfile* diff --git a/.github/workflows/c++-ci.yaml b/.github/workflows/c++-ci.yaml deleted file mode 100644 index ca43b2dc..00000000 --- a/.github/workflows/c++-ci.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: build - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - schedule: - - cron: "0 3 1 * *" - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Build docker image - run: docker build -t ci . - - name: Run docker image - run: docker run ci diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml new file mode 100644 index 00000000..0444219a --- /dev/null +++ b/.github/workflows/rust.yaml @@ -0,0 +1,22 @@ +name: build and test + +on: + push: + branches: [ rust_rewrite ] + pull_request: + branches: [ rust_rewrite ] + schedule: + - cron: "0 3 1 * *" + +env: + CARGO_TERM_COLORS: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - run: rustup update stable && rustup default stable + - run: cargo build --verbose + - run: cargo test --verbose