From a5ea194931117e1bf18a48118a5e930f58b7ada6 Mon Sep 17 00:00:00 2001 From: Li Zhineng Date: Sat, 6 Jul 2024 15:29:39 +0800 Subject: Continuous Integration (#3) * ci * remove branch limits * publish workflow * specify working directory * install libssl-dev on ubuntu-latest * drop x86_64-unknown-linux-musl * fix tar * list files * prefix working directory * install openssl * use cross * fix section * remove openssl * use edge images * quoted * edge image for aarch64-unknown-linux-gnu * custom dockerfile * build-essential && remove CAMKE* * combine pre-build with target * fix package not found * install pkg-config * remove build-essential * install build-essential * $CROSS_DEB_ARCH * fix arch * remove openssl * remove file listing * remove prefixed path * use actions/upload-artifact@v4 * fix upload step * Revert "fix upload step" This reverts commit da9814e42ce568a1b0707f23df02696ad373dc22. * Revert "use actions/upload-artifact@v4" This reverts commit 0bcc2486c6a4bd4fc865eedb458098724ae6b88d. * Revert "remove prefixed path" This reverts commit 620b985b18e84cf97e40695c9852762c853434b6. * Revert "fix tar" This reverts commit a013b23161e0b9193161e57f9a878b04b2eba874. * remove -p for mkdir * add target: x86_64-apple-darwin --- .github/workflows/rust.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/rust.yml (limited to '.github/workflows/rust.yml') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..29fd6f7 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,24 @@ +name: Rust + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +defaults: + run: + working-directory: ./decryptor + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose -- cgit v1.2.3