Skip to content

Commit

Permalink
ci: Switch to builtin curl for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Macdu committed Nov 8, 2023
1 parent 0f4559c commit 9e5b080
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: |
sudo add-apt-repository -y ppa:mhier/libboost-latest
sudo apt update
sudo apt -y install ccache libboost-filesystem1.81-dev libboost-program-options1.81-dev libboost-system1.81-dev libgtk-3-dev libsdl2-dev ninja-build libcurl4-gnutls-dev
sudo apt -y install ccache libboost-filesystem1.81-dev libboost-program-options1.81-dev libboost-system1.81-dev libgtk-3-dev libsdl2-dev ninja-build
if: matrix.os == 'ubuntu-latest'

- uses: ilammy/msvc-dev-cmd@v1
Expand Down Expand Up @@ -117,13 +117,12 @@ jobs:
run: echo "build_variable=$(git rev-list HEAD --count)" >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest'

- name: Bundle shared objects
- name: Bundle Shared Objects
id: bundle_shared_objects
run: |
cd build/${{ matrix.cmake_preset }}/bin/${{ matrix.config }}
cp /usr/lib/x86_64-linux-gnu/libssl.so.3 ./libssl.so.3
cp /usr/lib/x86_64-linux-gnu/libcrypto.so.3 ./libcrypto.so.3
cp /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 ./libcurl-gnutls.so.4
if: matrix.os == 'ubuntu-latest'

- name: Ccache statistics
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
sudo add-apt-repository -y ppa:mhier/libboost-latest
sudo apt update
sudo apt -y install ccache libboost-filesystem1.81-dev libboost-program-options1.81-dev libboost-system1.81-dev libgtk-3-dev libsdl2-dev ninja-build libcurl4-gnutls-dev
sudo apt -y install ccache libboost-filesystem1.81-dev libboost-program-options1.81-dev libboost-system1.81-dev libgtk-3-dev libsdl2-dev ninja-build
- uses: actions/cache@v3
with:
Expand Down

0 comments on commit 9e5b080

Please sign in to comment.