From a68d2c9e809973bd8bbbfa24457b996201fcedd4 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 7 Nov 2024 17:20:57 +0100 Subject: [PATCH] Add debug workflow --- .github/workflows/ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 43 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..0502050c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,42 @@ +name: build + +on: [push, pull_request] + +jobs: + build: + runs-on: windows-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - name: Git checkout + uses: actions/checkout@v4 + with: + fetch-depth: 1 + submodules: 'true' + + - name: Cache deps + uses: actions/cache@v2 + id: cache-deps + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('deps.edn') }} + restore-keys: ${{ runner.os }}-maven- + + - name: Prepare java + uses: actions/setup-java@v2 + with: + distribution: 'adopt-hotspot' + java-version: '19' + + - name: Install clojure tools + uses: DeLaGuardo/setup-clojure@5.0 + with: + cli: latest + bb: latest + + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + + - name: Run tests + run: | + bb ci:test diff --git a/.gitignore b/.gitignore index f9bd904e..8c0a335a 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ bun.lockb scratch.mjs scratch.cljs *.bun-build +scratch