diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fd8dd39 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,47 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Rust (nightly) + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + components: rustc, rust-src, cargo + + - name: Set up Java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '21' + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Set up Gradle + uses: gradle/gradle-build-action@v2 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y make + + - name: Build all components + run: make all + + - name: Run integration tests + run: python3 Tester.py