forked from 6-6-6/spark-overlay
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (61 loc) · 1.8 KB
/
docker.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: "Test ebuilds in Docker container"
on:
# ebuild installation tests can take very long time, so run tests nightly
# Run after daily build time of ghcr.io/leo3418/gentoo-stage3-amd64-java
schedule:
- cron: '30 4 * * *'
# Allow tests to be triggered manually
workflow_dispatch:
jobs:
test-cases:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test-case:
- spark
- h2o
unstable: ['', '~amd64']
# The Kotlin ebuilds do not depend on too many ebuilds in ::gentoo,
# accepting the unstable keyword globally is trivial
include:
- test-case: kotlin-latest
- test-case: kotlin-1.5
- test-case: kotlin-1.4
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/run-test-case
env:
UNSTABLE: ${{ matrix.unstable }}
with:
test-case: ${{ matrix.test-case }}
leaf-ebuilds:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.may-fail }}
strategy:
fail-fast: false
matrix:
test-case:
- leaf-ebuilds
- leaf-ebuilds-binary
unstable: ['', '~amd64']
may-fail: [false]
include:
- test-case: leaf-ebuilds-test
may-fail: true
- test-case: leaf-ebuilds-test
unstable: '~amd64'
may-fail: true
- test-case: leaf-ebuilds-binary-test
may-fail: true
- test-case: leaf-ebuilds-binary-test
unstable: '~amd64'
may-fail: true
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup-leaf-ebuilds-job
- uses: ./.github/actions/run-test-case
env:
UNSTABLE: ${{ matrix.unstable }}
with:
test-case: ${{ matrix.test-case }}