Skip to content

Commit

Permalink
move windows download
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed May 21, 2024
1 parent bbf0b67 commit 5fbda4f
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,6 @@ jobs:
uses: actions/checkout@v4
with:
path: wex
- name: Download wxWidgets
shell: bash
run: |
cd $HOME
python --version
pip install requests
python $GITHUB_WORKSPACE/wex/.github/workflows/download_wx.py wx-3.2.3
dir
dir wx-3.2.3
echo "WXMSW3=$HOME/wx-3.2.3" >>$GITHUB_ENV
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
Expand All @@ -152,22 +142,24 @@ jobs:
path: lk
repository: ${{ env.GITHUB_REPOSITORY_OWNER }}/lk
ref: ${{ env.LK_BRANCH }}
- name: Checkout ssc
uses: actions/checkout@v4
with:
path: ssc
repository: ${{ env.GITHUB_REPOSITORY_OWNER }}/ssc
ref: ${{ env.SSC_BRANCH }}
- name: Download wxWidgets
shell: bash
run: |
python --version
pip install requests
python $GITHUB_WORKSPACE/wex/.github/workflows/download_wx.py wx-3.2.3
dir
dir wx-3.2.3
echo "WXMSW3=$GITHUB_WORKSPACE/wx-3.2.3" >>$GITHUB_ENV
- name: Build LK
run: |
cd lk
mkdir build
cd build
dir $WXMSW3
dir $env:WXMSW3
cmake .. -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES="Release;Debug" -DCMAKE_SYSTEM_VERSION=10 -DSAM_SKIP_TOOLS=1
MSBuild.exe .\lk.sln /t:Build /p:Configuration=Release
MSBuild.exe .\lk.sln /t:Build /p:Configuration=Debug
- name: Set LK paths
shell: bash
run: |
Expand All @@ -176,6 +168,12 @@ jobs:
echo "LK_LIB=$GITHUB_WORKSPACE/lk/build/Release" >>$GITHUB_ENV
echo "RAPIDJSONDIR=$GITHUB_WORKSPACE/ssc" >>$GITHUB_ENV
- name: Checkout ssc
uses: actions/checkout@v4
with:
path: ssc
repository: ${{ env.GITHUB_REPOSITORY_OWNER }}/ssc
ref: ${{ env.SSC_BRANCH }}
- name: Build WEX
run: |
cd wex
Expand Down

0 comments on commit 5fbda4f

Please sign in to comment.