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: ...@@ -6,29 +6,39 @@ stages:
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: "1"
build: .build:
stage: build stage: build
tags:
- macos
script: script:
- cd source/Irrlicht/MacOSX/ - cd source/Irrlicht/MacOSX/
- xcodebuild -project MacOSX.xcodeproj - xcodebuild -project MacOSX.xcodeproj
- cd ../../../ - 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: artifacts:
paths: paths:
- libIrrlicht.a - lib
build-i386:
extends: .build
tags:
- macos
build-arm64:
extends: .build
tags:
- macos-m1
pack: pack:
stage: pack stage: pack
tags: tags:
- linux - linux
dependencies: dependencies:
- build - build-i386
- build-arm64
script: script:
- apt update; apt -y install tar - apt update; apt -y install tar
- mkdir dist - mkdir dist
- tar -zcvf dist/irrlicht-mycard-mac.tar.gz libIrrlicht.a include - tar -zcvf dist/irrlicht-mycard-mac.tar.gz lib include
artifacts: artifacts:
paths: paths:
- dist - 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