-
Notifications
You must be signed in to change notification settings - Fork 1
65 lines (53 loc) · 1.82 KB
/
commit.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
65
name: Commit
on: [push]
jobs:
Windows-Commit:
runs-on: windows-latest
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: cd ${{ github.workspace }}
- uses: ./.github/run-tests
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-engine-randomizer.exe
path: dist/build-engine-randomizer.exe
Linux-Commit:
runs-on: ubuntu-latest
defaults:
run:
# Must be explicit for proper pipefail support
shell: bash
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: cd ${{ github.workspace }}
- run: sudo apt-get update -y
- run: sudo apt-get install -y python3-tk idle3
- uses: ./.github/run-tests
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-engine-randomizer-linux
path: dist/build-engine-randomizer
MacOS-Commit:
runs-on: macos-latest
defaults:
run:
# Must be explicit for proper pipefail support
shell: bash
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: cd ${{ github.workspace }}
- run: brew install python-tk
- uses: ./.github/run-tests
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-engine-randomizer-macos
path: dist/build-engine-randomizer