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