Skip to content

Commit

Permalink
update ci files: run on windows-2019 and build with vs2019 to avoid v…
Browse files Browse the repository at this point in the history
…irus mis-detected
  • Loading branch information
fxliang committed Mar 26, 2024
1 parent cd9953e commit 14405e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
build:
runs-on: windows-2022
runs-on: windows-2019
env:
librime_build: 'submodule'
boost_version: 1.84.0
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Configure build environment
shell: bash
run: |
cp env.vs2022.bat env.bat
cp env.vs2019.bat env.bat
librime_id=$(git submodule foreach --quiet 'if [ $name == "librime" ]; then echo `git rev-parse HEAD`; fi')
echo "librime_id is $librime_id"
echo "librime_id=$librime_id" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build-and-release:
permissions:
contents: write
runs-on: windows-2022
runs-on: windows-2019
env:
librime_build: submodule
boost_version: 1.84.0
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Configure build environment
shell: bash
run: |
cp env.vs2022.bat env.bat
cp env.vs2019.bat env.bat
librime_id=$(git submodule foreach --quiet 'if [ $name == "librime" ]; then echo `git rev-parse HEAD`; fi')
echo "librime_id is $librime_id"
echo "librime_id=$librime_id" >> $GITHUB_ENV
Expand Down

0 comments on commit 14405e7

Please sign in to comment.