|
|
@@ -15,33 +15,33 @@ env: |
|
|
|
|
|
|
|
jobs: |
|
|
|
# macOS native intel build |
|
|
|
macos: |
|
|
|
runs-on: macos-10.15 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
with: |
|
|
|
submodules: recursive |
|
|
|
- name: Set up cache |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
path: | |
|
|
|
~/PawPawBuilds |
|
|
|
key: macos-v${{ env.CACHE_VERSION }} |
|
|
|
- name: Set up dependencies |
|
|
|
run: | |
|
|
|
brew install cmake jq meson |
|
|
|
- name: Bootstrap macOS intel |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
./PawPaw/bootstrap-carla.sh macos && ./PawPaw/.cleanup.sh macos |
|
|
|
- name: Build macOS intel |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
./build.sh macos |
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
with: |
|
|
|
name: macOS intel package |
|
|
|
path: Carla/*.dmg |
|
|
|
#macos: |
|
|
|
#runs-on: macos-10.15 |
|
|
|
#steps: |
|
|
|
#- uses: actions/checkout@v2 |
|
|
|
#with: |
|
|
|
#submodules: recursive |
|
|
|
#- name: Set up cache |
|
|
|
#uses: actions/cache@v2 |
|
|
|
#with: |
|
|
|
#path: | |
|
|
|
#~/PawPawBuilds |
|
|
|
#key: macos-v${{ env.CACHE_VERSION }} |
|
|
|
#- name: Set up dependencies |
|
|
|
#run: | |
|
|
|
#brew install cmake jq meson |
|
|
|
#- name: Bootstrap macOS intel |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#./PawPaw/bootstrap-carla.sh macos && ./PawPaw/.cleanup.sh macos |
|
|
|
#- name: Build macOS intel |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#./build.sh macos |
|
|
|
#- uses: actions/upload-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: macOS intel package |
|
|
|
#path: Carla/*.dmg |
|
|
|
|
|
|
|
# macOS native universal build |
|
|
|
macos_universal: |
|
|
|