Debian Codegraph @

monero/.github/workflows/gitian.yml

raw symbols SCIP
1 name: ci/gh-actions/gitian
2
3 on:
4 push:
5 tags:
6 - '*'
7
8 jobs:
9 build-gitian:
10 runs-on: ubuntu-20.04
11 strategy:
12 fail-fast: false
13 matrix:
14 operating-system:
15 - name: "Linux"
16 option: "l"
17 - name: "Windows"
18 option: "w"
19 - name: "Android"
20 option: "a"
21 - name: "FreeBSD"
22 option: "f"
23 - name: "macOS"
24 option: "m"
25 name: ${{ matrix.operating-system.name }}
26 steps:
27 - name: prepare
28 run: |
29 sudo apt update
30 curl -O https://raw.githubusercontent.com/monero-project/monero/${{ github.ref_name }}/contrib/gitian/gitian-build.py
31 chmod +x gitian-build.py
32 - name: setup
33 run: |
34 ./gitian-build.py --setup --docker github-actions ${{ github.ref_name }}
35 - name: build
36 run: |
37 ./gitian-build.py --docker --detach-sign --no-commit --build -j 3 -o ${{ matrix.operating-system.option }} github-actions ${{ github.ref_name }}
38 - name: post build
39 run: |
40 cd out/${{ github.ref_name }}
41 shasum -a256 *
42 echo \`\`\` >> $GITHUB_STEP_SUMMARY
43 shasum -a256 * >> $GITHUB_STEP_SUMMARY
44 echo \`\`\` >> $GITHUB_STEP_SUMMARY
45 - uses: actions/upload-artifact@v4
46 with:
47 name: ${{ matrix.operating-system.name }}
48 path: |
49 out/${{ github.ref_name }}/*