Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
01984559
Commit
01984559
authored
2 years ago
by
olemorud
Committed by
Ole Morud
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[CI] Add macOS 13 job
parent
4cf0958b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/root-ci-config/buildconfig/mac13.txt
+0
-0
0 additions, 0 deletions
.github/workflows/root-ci-config/buildconfig/mac13.txt
.github/workflows/root-ci.yml
+73
-0
73 additions, 0 deletions
.github/workflows/root-ci.yml
with
73 additions
and
0 deletions
.github/workflows/root-ci-config/buildconfig/mac1
2
.txt
→
.github/workflows/root-ci-config/buildconfig/mac1
3
.txt
+
0
−
0
View file @
01984559
File moved
This diff is collapsed.
Click to expand it.
.github/workflows/root-ci.yml
+
73
−
0
View file @
01984559
...
@@ -64,6 +64,79 @@ env:
...
@@ -64,6 +64,79 @@ env:
OS_REGION_NAME
:
'
cern'
OS_REGION_NAME
:
'
cern'
jobs
:
jobs
:
build-macos
:
if
:
github.repository_owner == 'root_project'
permissions
:
contents
:
read
strategy
:
fail-fast
:
false
matrix
:
include
:
-
platform
:
mac13
arch
:
ARM64
config
:
Release
name
:
${{ matrix.platform }} ${{ matrix.arch }} ${{ matrix.config }}
runs-on
:
# Using '[self-hosted, ..., ...]' does not work for some reason :)
-
self-hosted
-
macOS
-
${{ matrix.arch }}
-
${{ matrix.platform }}
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v3
-
name
:
Pull Request Build
if
:
github.event_name == 'pull_request'
env
:
INCREMENTAL
:
${{ !contains(github.event.pull_request.labels.*.name, 'clean build') }}
run
:
"
.github/workflows/root-ci-config/build_root.py
--buildtype
${{
matrix.config
}}
--platform
${{
matrix.platform
}}
--incremental
$INCREMENTAL
--base_ref
${{
github.base_ref
}}
--head_ref
refs/pull/${{
github.event.pull_request.number
}}/head
--repository
${{
github.server_url
}}/${{
github.repository
}}"
-
name
:
Workflow dispatch
if
:
github.event_name == 'workflow_dispatch'
run
:
"
.github/workflows/root-ci-config/build_root.py
--buildtype
${{
matrix.config
}}
--platform
${{
matrix.platform
}}
--incremental
${{
inputs.incremental
}}
--base_ref
${{
inputs.base_ref
}}
--head_ref
${{
inputs.head_ref
}}
--repository
${{
github.server_url
}}/${{
github.repository
}}"
-
name
:
Nightly build
if
:
github.event_name == 'schedule'
run
:
"
.github/workflows/root-ci-config/build_root.py
--buildtype
${{
matrix.config
}}
--platform
${{
matrix.platform
}}
--incremental
false
--base_ref
${{
github.ref_name
}}
--repository
${{
github.server_url
}}/${{
github.repository
}}"
-
name
:
Update artifacts after push to release branch
if
:
github.event_name == 'push'
run
:
"
.github/workflows/root-ci-config/build_root.py
--buildtype
${{
matrix.config
}}
--platform
${{
matrix.platform
}}
--incremental
true
--base_ref
${{
github.ref_name
}}
--repository
${{
github.server_url
}}/${{
github.repository
}}"
-
name
:
Upload test results
uses
:
actions/upload-artifact@v3
with
:
name
:
Test Results ${{ matrix.platform }} ${{ matrix.arch }} ${{ matrix.config }}
path
:
/tmp/workspace/build/TestResults.xml
build-windows
:
build-windows
:
if
:
github.repository_owner == 'root_project'
if
:
github.repository_owner == 'root_project'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment