Update checkout actions #119
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 passes check | |
| on: [ push ] | |
| concurrency: | |
| group: "continuous_test" | |
| cancel-in-progress: true | |
| jobs: | |
| build-check: | |
| name: Build check | |
| runs-on: ubuntu-24.04 | |
| container: archlinux:latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: check fcitx5-cskk version | |
| id: version | |
| run: | | |
| echo version=`bin/version.sh` >> ${GITHUB_OUTPUT} | |
| - name: check cskk version | |
| id: cskk_version | |
| run: | | |
| echo cskk_version=`bin/cskk_version.sh` >> ${GITHUB_OUTPUT} | |
| - name: Install required build environment | |
| uses: ./.github/actions/archlinux_build_environment_setup | |
| - name: Build | |
| uses: ashutoshvarma/action-cmake-build@master | |
| with: | |
| build-dir: ${{ runner.workspace }}/build | |
| cc: gcc | |
| cxx: g++ | |
| build-type: Release | |
| run-test: false | |
| configure-options: -DFCITX_INSTALL_USE_FCITX_SYS_PATHS=ON -DUSE_QT6=Off | |
| build-options: --verbose |