forked from boostorg/release-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (49 loc) · 1.49 KB
/
boost_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
# Copyright 2022 Sam Darwin
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
name: boost_release
jobs:
linux:
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
container: cppalliance/boost_superproject_build:24.04-v1
packages: htop
- os: ubuntu-latest
container: cppalliance/boost_superproject_build:22.04-v1
packages: htop
timeout-minutes: 720
runs-on: ${{matrix.os}}
container: ${{matrix.container}}
steps:
- uses: actions/checkout@v4
- name: boost_release
run: |
set -xe
whoami
env
pwd
mkdir -p /root
cp ci_boost_common.py /root/
cp ci_boost_release.py /root/
cd /root/
boostbranch=develop
if [ ! -d project ]; then
git clone https://github.com/boostorg/boost project
cd project
# "git checkout" can also checkout commits
git checkout $boostbranch
cd ..
fi
export CIRCLECI=true
export CIRCLE_BRANCH=develop
export CIRCLE_WORKING_DIRECTORY=$(pwd)/project
python3 ci_boost_release.py checkout_post
EOL=LF python3 ci_boost_release.py test_override