-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (43 loc) · 1.11 KB
/
test-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
name: "Building IDeSyDe modules and executables"
on:
push:
branches:
- "master"
- "develop"
pull_request:
types: [opened, reopened]
concurrency:
group: test-build @ ${{ github.ref }}
cancel-in-progress: true
jobs:
test-scala-build:
strategy:
matrix:
jdk: [temurin@17, amazon-corretto@17, zulu@17, microsoft@17]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: earthly/actions-setup@v1
with:
version: v0.7.8
- name: Build scala
run: |
cd ${{ github.workspace }}
earthly +build-scala-all --jabba_jdk="${{ matrix.jdk }}"
test-rust-build:
strategy:
matrix:
target: [x86_64-unknown-linux-musl, x86_64-pc-windows-gnu]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: earthly/actions-setup@v1
with:
version: v0.7.8
- name: Build rust
run: |
cd ${{ github.workspace }}
earthly +build-rust-linux-host --targets="${{ matrix.target }}"