From c4536440905f907cb9ce0011f69c7287d1ff41bf Mon Sep 17 00:00:00 2001 From: ahoneybun Date: Thu, 11 Dec 2025 11:53:46 -0700 Subject: [PATCH] test: add .gitea/workflows/test-ci.yml --- .gitea/workflows/test-ci.yml | 47 ++++++++++++++++++++++++++++++++++++ test.md | 1 + 2 files changed, 48 insertions(+) create mode 100644 .gitea/workflows/test-ci.yml create mode 100644 test.md diff --git a/.gitea/workflows/test-ci.yml b/.gitea/workflows/test-ci.yml new file mode 100644 index 0000000..e0dc790 --- /dev/null +++ b/.gitea/workflows/test-ci.yml @@ -0,0 +1,47 @@ +name: test + +on: + pull_request: + +jobs: + test-amd64: + runs-on: [rust-latest, amd64-builder] + steps: + - name: System Info + run: uname -m + + - name: Setup + run: | + apt update -y + apt install -y curl gnupg + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt install -y nodejs + + - name: Checkout + uses: actions/checkout@v5 + + - name: Clippy + run: | + rustup component add clippy + cargo clippy + + test-arm64: + runs-on: [rust-latest, arm64-builder] + steps: + - name: System Info + run: uname -m + + - name: Setup + run: | + apt update -y + apt install -y curl gnupg + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt install -y nodejs + + - name: Checkout + uses: actions/checkout@v5 + + - name: Clippy + run: | + rustup component add clippy + cargo clippy diff --git a/test.md b/test.md new file mode 100644 index 0000000..5e1c309 --- /dev/null +++ b/test.md @@ -0,0 +1 @@ +Hello World \ No newline at end of file