File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 1616 runs-on : ${{ matrix.os }}
1717 strategy :
1818 matrix :
19- os : [ubuntu-latest, windows-latest]
19+ os : [ubuntu-latest, windows-latest, macos-latest ]
2020
2121 steps :
2222 - name : Checkout repository
4747 run : |
4848 scons platform=windows arch=x86_64 single_source=true
4949
50+ - name : Build extension (macOS)
51+ if : matrix.os == 'macos-latest'
52+ run : |
53+ scons platform=macos arch=universal single_source=true
54+
5055 - name : Create archive (Linux)
5156 if : matrix.os == 'ubuntu-latest'
5257 run : |
@@ -73,10 +78,23 @@ jobs:
7378 !bin/**/*.exp
7479 retention-days : 30
7580
81+ - name : Upload artifacts (macOS)
82+ if : matrix.os == 'macos-latest'
83+ uses : actions/upload-artifact@v3
84+ with :
85+ name : godot-python-macos-universal
86+ path : |
87+ bin/**/*
88+ !bin/**/*.lib
89+ !bin/**/*.exp
90+ retention-days : 30
91+
7692 - name : Release artifact
7793 if : ${{ inputs.release }}
7894 run : |
7995 if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
8096 echo "Releasing artifact for linux"
8197 elif [[ "${{ matrix.os }}" == "windows-latest" ]]; then
8298 echo "Releasing artifact for windows"
99+ elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
100+ echo "Releasing artifact for macOS"
You can’t perform that action at this time.
0 commit comments