From 1d92f4fa7d8b5ff09ba535b23a522583088f58ba Mon Sep 17 00:00:00 2001 From: rapperskull Date: Wed, 28 Feb 2024 23:52:33 +0100 Subject: [PATCH] Fix CI by checking out submodules --- .github/workflows/CI.yml | 12 ++++++++++++ appveyor.yml | 1 + 2 files changed, 13 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3b13d94..de11ee0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -44,6 +44,8 @@ jobs: artifact_os: Win64 steps: - uses: actions/checkout@v4 + with: + submodules: 'true' - name: CMake generate run: | mkdir build && cd build @@ -65,6 +67,8 @@ jobs: needs: Init steps: - uses: actions/checkout@v4 + with: + submodules: 'true' - name: CMake generate run: | mkdir build && cd build @@ -86,6 +90,8 @@ jobs: needs: Init steps: - uses: actions/checkout@v4 + with: + submodules: 'true' - name: CMake generate run: | mkdir build && cd build @@ -109,6 +115,8 @@ jobs: SYSROOT_PATH: /opt/cross-freebsd-13 steps: - uses: actions/checkout@v4 + with: + submodules: 'true' - name: FreeBSD toolchain setup run: | sudo apt-get -qq install clang lld && cd /tmp && \ @@ -141,6 +149,8 @@ jobs: SYSROOT_PATH: /opt/cross-openbsd-7 steps: - uses: actions/checkout@v4 + with: + submodules: 'true' - name: OpenBSD toolchain setup run: | sudo apt-get -qq install clang lld && cd /tmp && \ @@ -173,6 +183,8 @@ jobs: SYSROOT_PATH: /opt/cross-netbsd-9 steps: - uses: actions/checkout@v4 + with: + submodules: 'true' - name: NetBSD toolchain setup run: | sudo apt-get -qq install clang lld && cd /tmp && \ diff --git a/appveyor.yml b/appveyor.yml index 95f84d0..1ee6037 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,6 +4,7 @@ configuration: - Release before_build: - cmd: |- + git submodule update --init --recursive mkdir build cd build cmake .. -G "Visual Studio 17 2022"