Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed May 22, 2024
1 parent df71940 commit 92730ff
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,17 +390,27 @@ jobs:
target: 'desktop'
arch: ${{ matrix.qt_arch }}
modules: 'qtwebengine'
- uses: actions/checkout@v4
with:
repository: 'kaniol-lck/aria2'
path: 'aria2'
- name: Install libaria2
run: |
wget "https://github.com/kaniol-lck/aria2/releases/download/libaria2-release-1.36.0/libaria2-clang-macos-10.15.zip"
unzip *.zip
csrutil status
sudo cp -r lib/ ${{ env.QT_ROOT_DIR }}/lib/
sudo cp -r include/aria2/ ${{ env.QT_ROOT_DIR }}/include/
rm -rf lib/ include/ *.zip
cd aria2
brew install cppunit gettext openssl libssh2 c-ares sqlite3 autoconf automake pkg-config libtool
echo 'CC=clang' >> $GITHUB_ENV
echo 'CXX=clang++' >> $GITHUB_ENV
./configure \
--without-openssl --without-gnutls --with-appletls \
--disable-nls --enable-libaria2 \
CPPFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address"
make
make check
sudo make install
cd ..
- name: Install dependencies
run: |
brew install quazip gnu-sed
brew install quazip gnu-sed aria2
- uses: actions/checkout@v2
with:
fetch-depth: 1
Expand Down

0 comments on commit 92730ff

Please sign in to comment.