Skip to content

Commit 09ae7b3

Browse files
committed
Test
1 parent 3db4a80 commit 09ae7b3

File tree

1 file changed

+78
-70
lines changed

1 file changed

+78
-70
lines changed

.github/workflows/ci.yml

Lines changed: 78 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -50,83 +50,91 @@ 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/*
85-
- uses: actions/checkout@v6
86-
- uses: julia-actions/setup-julia@v2
87-
with:
88-
version: ${{ matrix.julia-version }}
89-
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 }}
95-
# 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
84+
- name: Show storage before cleanup
85+
run: |
86+
df -H
87+
- name: Cleanup /opt
10588
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
89+
sudo rm -rf /opt/*
90+
- name: Show storage after cleanup
11391
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
92+
df -H
93+
# - uses: actions/checkout@v6
94+
# - uses: julia-actions/setup-julia@v2
95+
# with:
96+
# version: ${{ matrix.julia-version }}
97+
# arch: x64
98+
# # We can't cache artifacts at the moment, it'd require more than 10 GiB.
99+
# # - uses: julia-actions/cache@v2
100+
# # # For the time being cache artifacts only for squashfs, we need too much
101+
# # # storage for the unpacked shards
102+
# # if: ${{ matrix.squashfs == true }}
103+
# # with:
104+
# # # Reserve entire cache to artifacts
105+
# # cache-name: ${{ matrix.squashfs }}
106+
# # cache-artifacts: "true"
107+
# # cache-packages: "false"
108+
# # cache-registries: "false"
109+
# - uses: julia-actions/julia-buildpkg@v1
110+
# with:
111+
# ignore-no-cache: true
112+
# - name: System info
113+
# run: |
114+
# args=(--check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@.)
115+
# # On Julia v1.8+ issue the code coverage info for this command.
116+
# if [[ "${{ matrix.julia-version }}" != "1.7" ]]; then
117+
# args+=(--code-coverage="@${PWD}")
118+
# fi
119+
# julia "${args[@]}" -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
120+
# - name: Run tests
121+
# run: |
122+
# eval `ssh-agent`
123+
# chmod 0600 test/id_ecdsa_deploy_helloworld_c_jll_read_only
124+
# mkdir -p ~/.ssh
125+
# touch ~/.ssh/known_hosts
126+
# ssh-keyscan github.com >> ~/.ssh/known_hosts
127+
# ssh-add test/id_ecdsa_deploy_helloworld_c_jll_read_only
128+
# julia --check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.test(coverage=true)'
129+
# - uses: julia-actions/julia-processcoverage@v1
130+
# - uses: codecov/codecov-action@v5
131+
# continue-on-error: true
132+
# with:
133+
# files: lcov.info
134+
# - uses: coverallsapp/github-action@v2
135+
# continue-on-error: true
136+
# with:
137+
# github-token: ${{ secrets.GITHUB_TOKEN }}
138+
# path-to-lcov: lcov.info
139+
# flag-name: run-${{ join(matrix.*, '-') }}
140+
# parallel: true

0 commit comments

Comments
 (0)