-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (50 loc) · 1.46 KB
/
mglyphs_release_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
47
48
49
50
51
52
name: mglyphs release build
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
# macos_build:
# runs-on: macos-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Checkout submodules
# run: git submodule update --init --recursive --remote
# - name: Build
# run: ./build.sh
# - name: Remove build-only process files
# run: |
# rm -r ${{github.workspace}}/build/CMakeFiles
# rm ${{github.workspace}}/build/*.cmake
# rm ${{github.workspace}}/build/CMakeCache.txt
# rm ${{github.workspace}}/build/Makefile
# - name: mglyphs macOS Artifact
# uses: actions/upload-artifact@v4
# with:
# name: mglyphs_v0.2_macOS
# path: ${{github.workspace}}/
linux_build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init --recursive --remote
- name: Build
run: ./build.sh
- name: Remove build-only process files
run: |
rm -r ${{github.workspace}}/build/CMakeFiles
rm ${{github.workspace}}/build/*.cmake
rm ${{github.workspace}}/build/CMakeCache.txt
rm ${{github.workspace}}/build/Makefile
- name: mglyphs Linux Artifact
uses: actions/upload-artifact@v4
with:
name: mglyphs_v0.2_linux
path: ${{github.workspace}}/