Revert "Run CI on Windows" #991
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
- develop | |
env: | |
SUBLIME_TEXT_VERSION: 4 | |
SUBLIME_TEXT_ARCH: x64 | |
jobs: | |
sublime-text: | |
strategy: | |
fail-fast: false | |
matrix: | |
st-version: [4] | |
os: ["ubuntu-latest", "macOS-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- if: ${{ matrix.os == 'macOS-latest' }} | |
run: brew unlink openssl | |
- uses: SublimeText/UnitTesting/actions/setup@v1 | |
with: | |
sublime-text-version: ${{ matrix.st-version }} | |
- uses: SublimeText/UnitTesting/actions/run-tests@v1 | |
with: | |
coverage: false | |
codecov-upload: false | |
clojure: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
clojure-version: ['1.10.0', '1.11.1', '1.12.0-alpha8'] | |
java-version: ['11', '21'] | |
java-distribution: ['temurin', 'zulu'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.java-distribution }} | |
java-version: ${{ matrix.java-version }} | |
- uses: DeLaGuardo/[email protected] | |
with: | |
cli: '1.11.1.1435' | |
bb: '1.1.171' | |
- uses: actions/[email protected] | |
with: | |
node-version: '17' | |
cache: 'npm' | |
cache-dependency-path: ./clojure/package-lock.json | |
- run: npm install | |
working-directory: ./clojure | |
- name: Cache Maven dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-maven | |
- name: Cache Git dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gitlibs | |
key: ${{ runner.os }}-gitlibs-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-gitlibs | |
- name: Run Clojure transcriptions | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: clojure -J-Dclojure.main.report=stderr -Sdeps '{org.clojure/clojure {:mvn/version "${{ matrix.clojure-version }}"}}' -X:dev:shadow-cljs user/-main | |
shell: bash | |
working-directory: ./clojure | |
- name: Run Clojure unit tests | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: clojure -J-Dclojure.main.report=stderr -Sdeps '{org.clojure/clojure {:mvn/version "${{ matrix.clojure-version }}"}}' -M:dev -m kaocha.runner | |
shell: bash | |
working-directory: ./clojure | |
- name: Run Clojure transcriptions | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: clojure -J-Dclojure.main.report=stderr -Sdeps '{org.clojure/clojure {:mvn/version "${{ matrix.clojure-version }}"}}' -X:dev:shadow-cljs user/-main | |
shell: powershell | |
working-directory: ./clojure | |
- name: Run Clojure unit tests | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: clojure -J-Dclojure.main.report=stderr -Sdeps '{org.clojure/clojure {:mvn/version "${{ matrix.clojure-version }}"}}' -M:dev -m kaocha.runner | |
shell: powershell | |
working-directory: ./clojure | |
- name: Run Babashka tests | |
run: bb test_runner.bb | |
working-directory: ./clojure |