* assertion #590
Workflow file for this run
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
name: Tests | |
on: [push] | |
jobs: | |
# Runtime Tests | |
runtime-test: | |
name: Runtime Tests | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: DeLaGuardo/[email protected] | |
with: | |
tools-deps: '1.10.1.763' | |
- name: Cache maven | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-maven | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Cache gitlibs | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-gitlibs | |
with: | |
path: ~/.gitlibs | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Cache JSC | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-jsc | |
with: | |
path: WebKit | |
key: ${{ runner.os }}-jsc | |
restore-keys: | | |
${{ runner.os }}-jsc | |
- name: Build tests | |
run: clojure -M:runtime.test.build | |
- name: Install JSC | |
run: ./ci/install_jsc.sh | |
- name: Run tests | |
run: | | |
WebKit/WebKitBuild/Release/bin/jsc builds/out-adv/core-advanced-test.js | tee test-out.txt | |
grep -qxF '0 failures, 0 errors.' test-out.txt | |
# Runtime Tests | |
runtime-windows-test: | |
name: Runtime Windows Tests | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: DeLaGuardo/[email protected] | |
with: | |
cli: '1.10.1.763' | |
- name: Build tests | |
run: clojure -M:runtime.test.build | |
shell: powershell | |
- name: Run tests | |
run: | | |
node builds/out-adv/core-advanced-test.js | tee test-out.txt | |
findstr "0 failures, 0 errors." test-out.txt | |
shell: powershell | |
# Self-host Tests | |
self-host-test: | |
name: Self-host Tests | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: DeLaGuardo/[email protected] | |
with: | |
tools-deps: '1.10.1.763' | |
- name: Cache maven | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-maven | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Cache gitlibs | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-gitlibs | |
with: | |
path: ~/.gitlibs | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Build tests | |
run: clojure -M:selfhost.test.build | |
- name: Run tests | |
run: | | |
node builds/out-self/core-self-test.js | tee test-out.txt | |
grep -qxF '0 failures, 0 errors.' test-out.txt | |
# Self-parity Tests | |
self-parity-test: | |
name: Self-parity Tests | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: DeLaGuardo/[email protected] | |
with: | |
tools-deps: '1.10.1.763' | |
- name: Cache maven | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-maven | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Cache gitlibs | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-gitlibs | |
with: | |
path: ~/.gitlibs | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Build tests | |
run: clojure -M:selfparity.test.build | |
- name: Run tests | |
run: | | |
node builds/out-self-parity/main.js | tee test-out.txt | |
grep -qxF '0 failures, 0 errors.' test-out.txt | |
# Compiler Tests | |
compiler-test: | |
name: Compiler Tests | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: DeLaGuardo/[email protected] | |
with: | |
tools-deps: '1.10.1.763' | |
- name: Cache maven | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-maven | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Cache gitlibs | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-gitlibs | |
with: | |
path: ~/.gitlibs | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Run tests | |
run: clojure -M:compiler.test:compiler.test.run | |
# Compiler Windows Tests | |
compiler-windows-test: | |
name: Compiler Windows Tests | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: DeLaGuardo/[email protected] | |
with: | |
cli: '1.10.1.763' | |
- name: Run tests | |
run: clojure -M:compiler.test:compiler.test.run | |
shell: powershell | |
# CLI Tests | |
cli-test: | |
name: CLI Tests | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: DeLaGuardo/[email protected] | |
with: | |
tools-deps: '1.10.1.763' | |
- name: Cache maven | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-maven | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Cache gitlibs | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-gitlibs | |
with: | |
path: ~/.gitlibs | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- name: Build Uberjar | |
run: ./script/uberjar | |
- name: Run tests | |
run: | | |
unset JAVA_TOOL_OPTIONS | |
clojure -M:cli.test.run | tee test-out.txt | |
grep -qxF '0 failures, 0 errors.' test-out.txt |