Skip to content

Commit

Permalink
ci: add opt-in check list
Browse files Browse the repository at this point in the history
by default makepkg is run with the --nocheck option
this can be overriden per package by adding the package name to ./.ci/ci-check-list.txt
  • Loading branch information
filnet committed May 3, 2024
1 parent f51f467 commit 228b6a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ for package in "${packages[@]}"; do
execute 'Fetch keys' "$DIR/fetch-validpgpkeys.sh"
cp -r ${package} B && cd B
message 'Building binary'
makepkg-mingw --noconfirm --noprogressbar --nocheck --syncdeps --rmdeps --cleanbuild || failure "${status} failed"
declare -a makepkg_args=()
grep -qFx "${package}" "$DIR/ci-check-list.txt" || makepkg_args+=("--nocheck")
makepkg-mingw --noconfirm --noprogressbar --syncdeps --rmdeps --cleanbuild "${makepkg_args[@]}" || failure "${status} failed"
cd - > /dev/null
repo-add $PWD/artifacts/ci.db.tar.gz $PWD/B/*.pkg.tar.*
pacman -Sy
Expand Down
1 change: 1 addition & 0 deletions .ci/ci-check-list.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mingw-w64-rust

0 comments on commit 228b6a3

Please sign in to comment.