@@ -50,83 +50,98 @@ jobs:
5050 squashfs : true
5151 julia-version : " 1.7"
5252
53- - runner : privileged
54- squashfs : true
55- julia-version : " 1.10"
53+ # - runner: privileged
54+ # squashfs: true
55+ # julia-version: "1.10"
5656
57- - runner : privileged
58- squashfs : true
59- julia-version : " 1.11"
57+ # - runner: privileged
58+ # squashfs: true
59+ # julia-version: "1.11"
6060
61- - runner : privileged
62- squashfs : true
63- julia-version : " 1.12"
61+ # - runner: privileged
62+ # squashfs: true
63+ # julia-version: "1.12"
6464
65- - runner : privileged
66- squashfs : true
67- julia-version : " 1.13-nightly"
65+ # - runner: privileged
66+ # squashfs: true
67+ # julia-version: "1.13-nightly"
6868
69- - runner : privileged
70- squashfs : true
71- julia-version : " nightly"
69+ # - runner: privileged
70+ # squashfs: true
71+ # julia-version: "nightly"
7272
73- # Add a job that uses the unprivileged builder with unpacked shards
74- - runner : unprivileged
75- squashfs : false
76- julia-version : " 1.12"
73+ # # Add a job that uses the unprivileged builder with unpacked shards
74+ # - runner: unprivileged
75+ # squashfs: false
76+ # julia-version: "1.12"
7777
78- # Add a job that uses the docker builder with unpacked shards
79- - runner : docker
80- squashfs : false
81- julia-version : " 1.12"
78+ # # Add a job that uses the docker builder with unpacked shards
79+ # - runner: docker
80+ # squashfs: false
81+ # julia-version: "1.12"
8282
8383 steps :
84- - run : sudo rm -rf /opt/*
84+ - name : Show available storage before cleanup
85+ run : |
86+ df -H
87+ - name : Free Disk Space
88+ uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
89+ with :
90+ tool-cache : true
91+ # This option takes some time, but could be switched to true if more
92+ # space is needed (~5 GB or so)
93+ large-packages : false
94+ - name : Cleanup /opt
95+ run : |
96+ sudo rm -rf /opt/*
97+ - name : Show available storage after cleanup
98+ run : |
99+ df -H
85100 - uses : actions/checkout@v6
86101 - uses : julia-actions/setup-julia@v2
87102 with :
88103 version : ${{ matrix.julia-version }}
89104 arch : x64
90- # We can't cache artifacts at the moment, it'd require more than 10 GiB.
91- # - uses: julia-actions/cache@v2
92- # # For the time being cache artifacts only for squashfs, we need too much
93- # # storage for the unpacked shards
94- # if: ${{ matrix.squashfs == true }}
105+ # # We can't cache artifacts at the moment, it'd require more than 10 GiB.
106+ # # - uses: julia-actions/cache@v2
107+ # # # For the time being cache artifacts only for squashfs, we need too much
108+ # # # storage for the unpacked shards
109+ # # if: ${{ matrix.squashfs == true }}
110+ # # with:
111+ # # # Reserve entire cache to artifacts
112+ # # cache-name: ${{ matrix.squashfs }}
113+ # # cache-artifacts: "true"
114+ # # cache-packages: "false"
115+ # # cache-registries: "false"
116+ # - uses: julia-actions/julia-buildpkg@v1
95117 # with:
96- # # Reserve entire cache to artifacts
97- # cache-name: ${{ matrix.squashfs }}
98- # cache-artifacts: "true"
99- # cache-packages: "false"
100- # cache-registries: "false"
101- - uses : julia-actions/julia-buildpkg@v1
102- with :
103- ignore-no-cache : true
104- - name : System info
105- run : |
106- args=(--check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@.)
107- # On Julia v1.8+ issue the code coverage info for this command.
108- if [[ "${{ matrix.julia-version }}" != "1.7" ]]; then
109- args+=(--code-coverage="@${PWD}")
110- fi
111- julia "${args[@]}" -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
112- - name : Run tests
113- run : |
114- eval `ssh-agent`
115- chmod 0600 test/id_ecdsa_deploy_helloworld_c_jll_read_only
116- mkdir -p ~/.ssh
117- touch ~/.ssh/known_hosts
118- ssh-keyscan github.com >> ~/.ssh/known_hosts
119- ssh-add test/id_ecdsa_deploy_helloworld_c_jll_read_only
120- julia --check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.test(coverage=true)'
121- - uses : julia-actions/julia-processcoverage@v1
122- - uses : codecov/codecov-action@v5
123- continue-on-error : true
124- with :
125- files : lcov.info
126- - uses : coverallsapp/github-action@v2
127- continue-on-error : true
128- with :
129- github-token : ${{ secrets.GITHUB_TOKEN }}
130- path-to-lcov : lcov.info
131- flag-name : run-${{ join(matrix.*, '-') }}
132- parallel : true
118+ # ignore-no-cache: true
119+ # - name: System info
120+ # run: |
121+ # args=(--check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@.)
122+ # # On Julia v1.8+ issue the code coverage info for this command.
123+ # if [[ "${{ matrix.julia-version }}" != "1.7" ]]; then
124+ # args+=(--code-coverage="@${PWD}")
125+ # fi
126+ # julia "${args[@]}" -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
127+ # - name: Run tests
128+ # run: |
129+ # eval `ssh-agent`
130+ # chmod 0600 test/id_ecdsa_deploy_helloworld_c_jll_read_only
131+ # mkdir -p ~/.ssh
132+ # touch ~/.ssh/known_hosts
133+ # ssh-keyscan github.com >> ~/.ssh/known_hosts
134+ # ssh-add test/id_ecdsa_deploy_helloworld_c_jll_read_only
135+ # julia --check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.test(coverage=true)'
136+ # - uses: julia-actions/julia-processcoverage@v1
137+ # - uses: codecov/codecov-action@v5
138+ # continue-on-error: true
139+ # with:
140+ # files: lcov.info
141+ # - uses: coverallsapp/github-action@v2
142+ # continue-on-error: true
143+ # with:
144+ # github-token: ${{ secrets.GITHUB_TOKEN }}
145+ # path-to-lcov: lcov.info
146+ # flag-name: run-${{ join(matrix.*, '-') }}
147+ # parallel: true
0 commit comments