Skip to content

Commit

Permalink
Test add windows CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tairov committed Jul 26, 2023
1 parent 6b14442 commit 96c56e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,26 +80,10 @@ jobs:
uses: microsoft/setup-msbuild@v1

- name: Build
id: cmake_build
run: |
mkdir build
cd build
cmake ..
cmake --build . --config runfast
- name: Configure
id: configure
continue-on-error: true
run: >
cmake -S . -B ./build -A x64 -DCMAKE_BUILD_TYPE=Release
- name: Build
id: make_build
continue-on-error: true
run: |
cd ./build
msbuild RUN.vcxproj -t:build -p:configuration=Release -p:platform=x64
make windowscl
#
# windows-32-make:
# runs-on: windows-latest
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ clang: run.c
clangonmp: run.c
clang -Ofast -fopenmp -march=native run.c -lm -o run

.PHONY: windowscl
windowscl: run.c
cl.exe run.c

.PHONY: clean
clean:
rm -f run

0 comments on commit 96c56e0

Please sign in to comment.