Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMontag committed Jul 6, 2023
1 parent ae3518f commit 85eed8d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions ci/.gitlab-ci-15-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ pack-dac:
- codesign --sign ${GAMS_CODESIGN_IDENTITY} --options runtime --force --deep --timestamp --entitlements $WORKSPACE/platform/macos/modelinspector.entitlements.plist "modelinspector.app"
- hdiutil create -volname "modelinspector" -srcfolder "modelinspector.app" -ov -fs HFS+ -format UDZO "modelinspector.dmg"
- codesign --verify --verbose modelinspector.app
- mv "modelinspector.dmg" "$WORKSPACE/GAMS-MII-dac-x86_64.dmg"
- mv "modelinspector.dmg" "$WORKSPACE/GAMS-MII-dac-arm_64.dmg"
- cd ${WORKSPACE}
- DMG_NAME=GAMS-MII-dac-x86_64.dmg
- DMG_NAME=GAMS-MII-dac-arm_64.dmg
# leave pipeline if it is not a Release, Release Tag or RC build
- |+
if [[ ! ${CI_COMMIT_REF_NAME} =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+$ ]] && [[ ! ${CI_COMMIT_REF_NAME} =~ .*-release$ ]] && [[ ! ${CI_COMMIT_REF_NAME} =~ .*-rc$ ]]; then
Expand Down Expand Up @@ -42,9 +42,9 @@ pack-dac:
exit 1
fi
artifacts:
name: "GAMS-MIIr-dac-x86_64"
paths: ['GAMS-MII-dac-x86_64.dmg']
expose_as: 'GAMS-MII-dac-x86_64'
name: "GAMS-MII-dac-arm_64"
paths: ['GAMS-MII-dac-arm_64.dmg']
expose_as: 'GAMS-MII-dac-arm_64'
expire_in: 1 days

pack-deg:
Expand Down Expand Up @@ -139,11 +139,11 @@ pack-wei:
- $env:VCINSTALLDIR = "$vcinsdir"
- $env:Path = "C:\Qt\6.4.2\msvc2019_64\bin;" + $env:Path
- '& $cmd_vcvars'
- mkdir model-inspector
- cp "/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Redist/MSVC/14.29.30133/x64/Microsoft.VC142.CRT/*" "model-inspector"
- cp "/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Redist/MSVC/14.29.30133/vc_redist.x64.exe" "model-inspector"
- cp build/src/bin/* model-inspector
- cd model-inspector
- mkdir mii
- cp "/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Redist/MSVC/14.29.30133/x64/Microsoft.VC142.CRT/*" "mii"
- cp "/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Redist/MSVC/14.29.30133/vc_redist.x64.exe" "mii"
- cp build/src/bin/* mii
- cd mii
- 'windeployqt --release --compiler-runtime --force modelinspector.exe'
- echo $GAMS_COMODO_CERT | out-file -encoding ascii comodo_code.dat
- $data = (
Expand All @@ -157,7 +157,7 @@ pack-wei:
- rm comodo_code.dat
- rm comodo_cert.p12
- cd ..
- Compress-Archive -Path model-inspector -DestinationPath GAMS-MII-wei-x86_64.zip
- Compress-Archive -Path mii -DestinationPath GAMS-MII-wei-x86_64.zip
artifacts:
name: "GAMS-MII-wei-x86_64"
paths: ['GAMS-MII-wei-x86_64.zip']
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Current GAMS Model Inspector version.
MI_MAJOR_VERSION=0
MI_MINOR_VERSION=2
MI_PATCH_LEVEL=0
MI_PATCH_LEVEL=1
VERSION='$$MI_MAJOR_VERSION'.'$$MI_MINOR_VERSION'.'$$MI_PATCH_LEVEL'

# Minimum required GAMS Distribution version, which
Expand Down

0 comments on commit 85eed8d

Please sign in to comment.