diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cc41b5ea..22804ebf 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -55,7 +55,7 @@ jobs: cmake -B ${{github.workspace}}/build -DCMAKE_TOOLCHAIN_FILE=REMCU/platform/macos_darwin_x64.cmake; echo 0 - name: Configure CMake - run: | + run: | rm -rf ${{github.workspace}}/build export SYSTEM_VERSION_COMPAT=1 echo "\n\n\n ==== SYSTEM_VERSION_COMPAT $SYSTEM_VERSION_COMPAT \nn\n\n\n\n" @@ -68,6 +68,13 @@ jobs: export SYSTEM_VERSION_COMPAT=1 echo "\n\n\n ==== SYSTEM_VERSION_COMPAT $SYSTEM_VERSION_COMPAT \nn\n\n\n\n" cmake --build ${{github.workspace}}/build + + - uses: actions/upload-artifact@v3 + with: + name: build_folder + path: ${{github.workspace}}/build/ + if-no-files-found: error + - name: Commit & push if: github.actor == 'ser-mk' diff --git a/.github/workflows/raspberry_pi_armv6_bcm2708.yml b/.github/workflows/raspberry_pi_armv6_bcm2708.yml index 3d415053..85d4cf36 100644 --- a/.github/workflows/raspberry_pi_armv6_bcm2708.yml +++ b/.github/workflows/raspberry_pi_armv6_bcm2708.yml @@ -53,6 +53,14 @@ jobs: - name: Build # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build + + + - uses: actions/upload-artifact@v3 + with: + name: build_folder + path: ${{github.workspace}}/build/ + if-no-files-found: error + - name: Commit & push if: github.actor == 'ser-mk' diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index a843cda5..e9b32c11 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -52,6 +52,14 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build + + - uses: actions/upload-artifact@v3 + with: + name: build_folder + path: ${{github.workspace}}/build/ + if-no-files-found: error + + - name: Commit & push if: github.actor == 'ser-mk' run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 54c52dae..c390e340 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -53,12 +53,18 @@ jobs: - name: Configure CMake run: | - cmake -B "D:\build" -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=REMCU/platform/windows_x64_clang.cmake + cmake -B build -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=REMCU/platform/windows_x64_clang.cmake - name: Build # Build your program with the given configuration run: | - cmake --build "D:\build" + cmake --build build + + - uses: actions/upload-artifact@v3 + with: + name: build_folder + path: build/ + if-no-files-found: error - name: Commit & push @@ -67,10 +73,9 @@ jobs: git clone https://ser-mk:${{ secrets.TOKEN_PUSH }}@github.com/remotemcu/prebuilt_libraries.git git config --global user.email "en.chormonov@gmail.com" git config --global user.name "Evgeny Chormonov" - cp -rf /d/build/output/* prebuilt_libraries/ + cp -rf build/output/* prebuilt_libraries/ cd prebuilt_libraries/ git add . git status git commit -m "update windows" || true git push origin master - \ No newline at end of file