diff options
| author | Ryo Nakamura <upa@haeena.net> | 2022-11-24 22:59:59 +0900 |
|---|---|---|
| committer | Ryo Nakamura <upa@haeena.net> | 2022-11-24 22:59:59 +0900 |
| commit | b46a6f15c1548121747dfafdf9cec9130944be4b (patch) | |
| tree | 18545d6ad04afbabdd83fe473aceb952a48241aa /.github/workflows/release.yml | |
| parent | 6f9aaeab80e601b45b60bd1ca78f5e8fd2f49605 (diff) | |
update github workflows to fit patched libssh
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdcc97d..5523348 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,21 +13,32 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: true + + - name: patch to libssh + run: patch -d libssh -p1 < patch/libssh-0.10.4.patch + + # TODO: just building docker does not require libssh. fix CMakeLists + - name: install build dependency + run: sudo ./scripts/install-build-deps.sh - name: Set variables run: | VER=$(cat VERSION) echo "VERSION=$VER" >> $GITHUB_ENV - # TODO: docker build does not require libssh. fix CMakeLists - - name: install build dependency - run: sudo ./scripts/install-build-deps.sh - - name: Configure Cmake - run: cmake -B ${{github.workspace}}/build -DBUILD_PKG=1 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + + - name: Build Containers + run: make -C ${{github.workspace}}/build docker-build-all + + - name: Test + run: make -C ${{github.workspace}}/build docker-test-all - - name: Build Packages - run: make -C ${{github.workspace}}/build package-all-in-docker + - name: Test + run: make -C ${{github.workspace}}/build docker-pkg-all - name: Release uses: softprops/action-gh-release@v1 |
