init research
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
github: cnuernber
|
||||
@@ -0,0 +1,19 @@
|
||||
name: Run tests in devcontainer
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
run-tests:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: run tests
|
||||
uses: devcontainers/ci@v0.3
|
||||
with:
|
||||
runCmd: bash -c 'scripts/get-data.sh && scripts/run-tests'
|
||||
push: never
|
||||
|
||||
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
name: Automated tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
jdk-version: ["11", "17", "21"]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Restore cached dependencies
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: |
|
||||
~/.m2/repository
|
||||
~/.gitlibs
|
||||
~/.deps.clj
|
||||
key: cljdeps-${{ hashFiles('deps.edn') }}
|
||||
- name: Additional dependencies
|
||||
run: |
|
||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install -y libopenblas-dev lz4
|
||||
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
|
||||
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
|
||||
sudo apt update
|
||||
sudo apt install intel-oneapi-mkl
|
||||
- name: Java setup
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: ${{ matrix.jdk-version }}
|
||||
- name: Setup Clojure
|
||||
uses: DeLaGuardo/setup-clojure@12.1
|
||||
with:
|
||||
cli: 1.11.1.1413
|
||||
- name: Run automated tests
|
||||
run: |
|
||||
scripts/get-data.sh
|
||||
scripts/run-tests
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.m2/repository
|
||||
~/.gitlibs
|
||||
~/.deps.clj
|
||||
key: cljdeps-${{ hashFiles('deps.edn') }}
|
||||
restore-keys: cljdeps-
|
||||
Reference in New Issue
Block a user