Handle basic http authentication #25
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-meson: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libcurl4-openssl-dev libuv1-dev meson ninja-build | |
| - name: Configure | |
| run: meson setup --buildtype release build | |
| - name: Build | |
| run: meson compile -C build | |
| - name: Install | |
| run: sudo meson install -C build | |
| - name: Verify installation | |
| run: | | |
| test -f /usr/local/bin/ccache-storage-http | |
| test -L /usr/local/bin/ccache-storage-https | |
| build-cmake: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libcurl4-openssl-dev libuv1-dev cmake build-essential | |
| - name: Configure | |
| run: cmake -B build -D CMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| run: cmake --build build | |
| - name: Install | |
| run: sudo cmake --install build | |
| - name: Verify installation | |
| run: | | |
| test -f /usr/local/bin/ccache-storage-http | |
| test -L /usr/local/bin/ccache-storage-https |