fix: try to clone after timeout if the directory exists in git_clone
function
#195
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-cross-emscripten | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
Test: | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-22.04 | |
cmake: | |
- true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/vcpkg | |
./build/vcpkg_installed | |
${{ env.HOME }}/.cache/vcpkg/archives | |
${{ env.XDG_CACHE_HOME }}/vcpkg/archives | |
${{ env.LOCALAPPDATA }}\vcpkg\archives | |
${{ env.APPDATA }}\vcpkg\archives | |
key: ${{ runner.os }}-emscripten-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}-${{ matrix.cmake }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.BUILD_TYPE }}- | |
- name: Setup Cpp | |
uses: aminya/setup-cpp@v1 | |
with: | |
cmake: ${{ matrix.cmake }} | |
ninja: true | |
vcpkg: true | |
conan: true | |
cppcheck: true | |
clangtidy: true | |
task: true | |
doxygen: true | |
- name: Setup emscripten | |
uses: mymindstorm/setup-emsdk@v11 | |
- name: Build | |
run: | | |
task emscripten:build | |
env: | |
CMAKE_GENERATOR: ${{ matrix.cmake_generator }} |