-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (34 loc) · 1.04 KB
/
test-nim.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
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Test build Palladian
on:
# Runs on pushes targeting the default branch
["pull_request"]
concurrency:
group: "test"
cancel-in-progress: false
jobs:
# WIP でジョブがスキップされてもCIが失敗した扱いにならないようにするため
skip:
runs-on: ubuntu-latest
steps:
- run: echo "Skip job"
# WIP がコミットメッセージに含まれているとジョブを起動しない
before:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, 'WIP')"
steps:
- run: echo "no WIP"
build-test-v1:
runs-on: ubuntu-latest
needs: before
steps:
- uses: actions/checkout@v1
- name: Test
run: docker compose -f compose.test.yaml run app-ubuntu-v1 nimble build
build-test-v2:
runs-on: ubuntu-latest
needs: before
steps:
- uses: actions/checkout@v1
- name: Test
run: docker compose -f compose.test.yaml run app-ubuntu-v2 nimble build