Commit f5cc24be authored by nanahira's avatar nanahira

double build

parent 5cf1679e
Pipeline #16894 passed with stages
in 1 minute and 50 seconds
......@@ -6,29 +6,39 @@ stages:
variables:
GIT_DEPTH: "1"
build:
.build:
stage: build
tags:
- macos
script:
- cd source/Irrlicht/MacOSX/
- xcodebuild -project MacOSX.xcodeproj
- cd ../../../
- cp source/Irrlicht/MacOSX/build/Release/libIrrlicht.a .
- mkdir -p lib
- cp source/Irrlicht/MacOSX/build/Release/libIrrlicht.a ./lib/libIrrlicht-$(arch).a
artifacts:
paths:
- libIrrlicht.a
- lib
build-i386:
extends: .build
tags:
- macos
build-arm64:
extends: .build
tags:
- macos-m1
pack:
stage: pack
tags:
- linux
dependencies:
- build
- build-i386
- build-arm64
script:
- apt update; apt -y install tar
- mkdir dist
- tar -zcvf dist/irrlicht-mycard-mac.tar.gz libIrrlicht.a include
- tar -zcvf dist/irrlicht-mycard-mac.tar.gz lib include
artifacts:
paths:
- dist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment