Skip to content

Commit 887413b

Browse files
committed
Clean up
Fix multi line on windows Fix multi-line windows Fix mkdir
1 parent 5fe56db commit 887413b

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v4
27-
- run: mkdir build
2827

2928
- name: Install micromamba
3029
uses: mamba-org/setup-micromamba@v1
3130
with:
3231
environment-file: environment-dev.yml
3332

33+
- name: Make build directory
34+
run: mkdir build
35+
3436
- name: Install luajit
3537
shell: bash -l {0}
3638
run: micromamba install luajit -c conda-forge -y
@@ -40,8 +42,8 @@ jobs:
4042
shell: bash -l {0}
4143
run: |
4244
cmake .. \
43-
-DXLUA_WITH_XWIDGETS=ON\
44-
-DXLUA_WITH_XCANVAS=ON\
45+
-DXLUA_WITH_XWIDGETS=ON \
46+
-DXLUA_WITH_XCANVAS=ON \
4547
-DXEUS_LUA_USE_LUAJIT=${{matrix.luajit}} \
4648
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
4749
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
@@ -69,21 +71,27 @@ jobs:
6971
strategy:
7072
fail-fast: false
7173
matrix:
72-
os: [ windows-latest]
74+
os: [ windows-latest ]
7375

7476
steps:
7577
- uses: actions/checkout@v4
76-
- run: mkdir build
7778

7879
- name: Install micromamba
7980
uses: mamba-org/setup-micromamba@v1
8081
with:
8182
init-shell: powershell
8283
environment-file: environment-dev.yml
8384

85+
- name: Make build directory
86+
run: mkdir build
87+
8488
- name: Configure cmake
8589
shell: powershell
86-
run: cmake .. -DCMAKE_BUILD_TYPE=Release -DDEPENDENCY_SEARCH_PREFIX="%CONDA_PREFIX%\Library" -DCMAKE_PREFIX_PATH="%CONDA_PREFIX%\Library"
90+
run: |
91+
cmake .. `
92+
-DCMAKE_BUILD_TYPE=Release `
93+
-DDEPENDENCY_SEARCH_PREFIX="%CONDA_PREFIX%\Library" `
94+
-DCMAKE_PREFIX_PATH="%CONDA_PREFIX%\Library"
8795
working-directory: build
8896

8997
- name: Build

0 commit comments

Comments
 (0)