test building on multiple MacOS versions

This commit is contained in:
Jay Lee
2019-09-05 19:51:46 -04:00
parent a659d5fada
commit 5beff97f95
2 changed files with 35 additions and 2 deletions

View File

@@ -110,13 +110,45 @@ matrix:
- PLATFORM=x86_64 - PLATFORM=x86_64
- VMTYPE=test - VMTYPE=test
- os: osx - os: osx
name: "MacOS 64-bit" name: "MacOS 10.10"
language: generic
osx_image: xcode6.4
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.11"
language: generic
osx_image: xcode8
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.12"
language: generic language: generic
osx_image: xcode9.2 osx_image: xcode9.2
env: env:
- GAMOS=macos - GAMOS=macos
- PLATFORM=x86_64 - PLATFORM=x86_64
- VMTYPE=build - VMTYPE=build
- os: osx
name: "MacOS 10.13"
language: generic
osx_image: xcode10.1
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.14"
language: generic
osx_image: xcode11
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: windows - os: windows
name: "Windows 64-bit" name: "Windows 64-bit"
language: shell language: shell

View File

@@ -7,6 +7,7 @@ export GAMVERSION=`gam/gam version simple`
cp LICENSE gam cp LICENSE gam
cp whatsnew.txt gam cp whatsnew.txt gam
cp GamCommands.txt gam cp GamCommands.txt gam
GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM.tar.xz MACOSVERSION=$(defaults read loginwindow SystemVersionStampAsString)
GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM-MacOS$MACOSVERSION.tar.xz
rm gam/lastupdatecheck.txt rm gam/lastupdatecheck.txt
tar cfJ $GAM_ARCHIVE gam/ tar cfJ $GAM_ARCHIVE gam/