@@ -21,15 +21,15 @@ jobs:
21
21
run : choco install winflexbison3
22
22
23
23
- name : Configure
24
- run : cmake -B ${{ github.workspace }}/build -C ${{ github.workspace }}/cmake/caches/MSVCWarnings.cmake -D CMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A ${{ matrix.arch }} -S ${{ github.workspace }}
24
+ run : cmake -B ${{ github.workspace }}/BinaryCache/ds2 -C ${{ github.workspace }}/cmake/caches/MSVCWarnings.cmake -D CMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A ${{ matrix.arch }} -S ${{ github.workspace }}
25
25
- name : Build
26
- run : cmake --build ${{ github.workspace }}/build --config Release
26
+ run : cmake --build ${{ github.workspace }}/BinaryCache/ds2 --config Release
27
27
28
28
- uses : actions/upload-artifact@v2
29
29
with :
30
30
name : windows-${{ matrix.arch }}-ds2
31
31
path : |
32
- build /Release/ds2.exe
32
+ ${{ github.workspace }}/BinaryCache/ds2 /Release/ds2.exe
33
33
34
34
35
35
mingw :
@@ -60,15 +60,15 @@ jobs:
60
60
- uses : actions/checkout@v2
61
61
62
62
- name : Configure
63
- run : cmake -B $(cygpath -u '${{ github.workspace }}/build ') -C $(cygpath -u '${{ github.workspace }}/cmake/caches/GNUWarnings.cmake') -D CMAKE_BUILD_TYPE=Release -G Ninja -S $(cygpath -u '${{ github.workspace }}')
63
+ run : cmake -B $(cygpath -u '${{ github.workspace }}/BinaryCache/ds2 ') -C $(cygpath -u '${{ github.workspace }}/cmake/caches/GNUWarnings.cmake') -D CMAKE_BUILD_TYPE=Release -G Ninja -S $(cygpath -u '${{ github.workspace }}')
64
64
- name : Build
65
- run : cmake --build $(cygpath -u '${{ github.workspace }}/build ') --config Release
65
+ run : cmake --build $(cygpath -u '${{ github.workspace }}/BinaryCache/ds2 ') --config Release
66
66
67
67
- uses : actions/upload-artifact@v2
68
68
with :
69
69
name : mingw-${{ matrix.system }}-ds2
70
70
path : |
71
- build /Release/ds2.exe
71
+ ${{ github.workspace }}/BinaryCache/ds2 /Release/ds2.exe
72
72
73
73
macos :
74
74
runs-on : macos-latest
@@ -78,15 +78,15 @@ jobs:
78
78
- uses : seanmiddleditch/gha-setup-ninja@master
79
79
80
80
- name : Configure
81
- run : cmake -B ${{ github.workspace }}/out -C ${{ github.workspace }}/cmake/caches/ClangWarnings.cmake -D CMAKE_BUILD_TYPE=Release -G Ninja -S ${{ github.workspace }}
81
+ run : cmake -B ${{ github.workspace }}/BinaryCache/ds2 -C ${{ github.workspace }}/cmake/caches/ClangWarnings.cmake -D CMAKE_BUILD_TYPE=Release -G Ninja -S ${{ github.workspace }}
82
82
- name : Build
83
- run : cmake --build ${{ github.workspace }}/out --config Release
83
+ run : cmake --build ${{ github.workspace }}/BinaryCache/ds2 --config Release
84
84
85
85
- uses : actions/upload-artifact@v2
86
86
with :
87
87
name : macOS-x86_64-ds2
88
88
path : |
89
- build /ds2
89
+ ${{ github.workspace }}/BinaryCache/ds2 /ds2
90
90
91
91
linux :
92
92
runs-on : ubuntu-latest
@@ -105,12 +105,12 @@ jobs:
105
105
sudo apt-get install -qq --no-install-recommends bison flex gcc-multilib g++-multilib ninja-build
106
106
107
107
- name : Configure
108
- run : cmake -B ${{ github.workspace }}/build -C ${{ github.workspace }}/cmake/caches/GNUWarnings.cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_SYSTEM_NAME=Linux -D CMAKE_SYSTEM_PROCESSOR=${{ matrix.processor }} -D CMAKE_C_FLAGS=${{ matrix.cflags }} -D CMAKE_CXX_FLAGS=${{ matrix.cxxflags }} -G Ninja -S ${{ github.workspace }}
108
+ run : cmake -B ${{ github.workspace }}/BinaryCache/ds2 -C ${{ github.workspace }}/cmake/caches/GNUWarnings.cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_SYSTEM_NAME=Linux -D CMAKE_SYSTEM_PROCESSOR=${{ matrix.processor }} -D CMAKE_C_FLAGS=${{ matrix.cflags }} -D CMAKE_CXX_FLAGS=${{ matrix.cxxflags }} -G Ninja -S ${{ github.workspace }}
109
109
- name : Build
110
- run : cmake --build ${{ github.workspace }}/build --config Releaase
110
+ run : cmake --build ${{ github.workspace }}/BinaryCache/ds2 --config Releaase
111
111
112
112
- uses : actions/upload-artifact@v2
113
113
with :
114
114
name : linux-${{ matrix.processor }}-ds2
115
115
path : |
116
- build /ds2
116
+ ${{ github.workspace }}/BinaryCache/ds2 /ds2
0 commit comments