This repository was archived by the owner on Jun 19, 2025. It is now read-only.
forked from shawn1m/overture
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (49 loc) · 1.27 KB
/
python.yml
File metadata and controls
58 lines (49 loc) · 1.27 KB
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
name: Python
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.4'
- name: Check out code
uses: actions/checkout@v3
- name: Cache go modules
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build on Ubuntu
run: |
python3 ./build.py -create-sample
python3 ./build.py -build
- name: Upload artifacts (darwin)
uses: actions/upload-artifact@v2
with:
name: overture-darwin
path: overture-darwin-*.zip
- name: Upload artifacts (freebsd)
uses: actions/upload-artifact@v2
with:
name: overture-freebsd
path: overture-freebsd-*.zip
- name: Upload artifacts (linux)
uses: actions/upload-artifact@v2
with:
name: overture-linux
path: overture-linux-*.zip
- name: Upload artifacts (windows)
uses: actions/upload-artifact@v2
with:
name: overture-windows
path: overture-windows-*.zip