From 693f88635f1b236d2714f03556765e6d12e47f9d Mon Sep 17 00:00:00 2001 From: Alexander Barker Date: Sun, 26 Nov 2023 11:34:10 -0800 Subject: [PATCH] Updating actions to fix build process --- .github/workflows/package.yml | 729 +++++++++++++++++----------------- 1 file changed, 366 insertions(+), 363 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index cb484bbf..27df5fee 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -5,146 +5,146 @@ on: - '**' jobs: - apple-arm64: - runs-on: macos-latest - - steps: - - name: Checkout - uses: actions/checkout@v1 - with: - submodules: true - - - name: Compile - env: - CC: clang - CFLAGS: '-O2 -g -target arm64-apple-macos10.5 -flto -fomit-frame-pointer -fno-stack-protector -pipe' - LDFLAGS: '-Wl,-dead_strip_dylibs' - shell: bash - run: | - cmake -B ${{github.workspace}}/build \ - -G "Unix Makefiles" \ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/darwin/arm64 \ - -D CMAKE_VERBOSE_MAKEFILE=true \ - -D BUILD_SHARED_LIBS=ON \ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}/build \ - --parallel 2 \ - --config RelWithDebInfo \ - --clean-first - - cmake --install ${{github.workspace}}/build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* - - apple-x86_64: - runs-on: macos-latest - - steps: - - name: Checkout - uses: actions/checkout@v1 - with: - submodules: true - - - name: Compile - env: - CC: clang - CFLAGS: '-O2 -g -target x86_64-apple-macos10.5 -flto -fomit-frame-pointer -fno-stack-protector -pipe' - LDFLAGS: '-Wl,-dead_strip_dylibs' - shell: bash - run: | - cmake -B ${{github.workspace}}/build \ - -G "Unix Makefiles" \ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/darwin/x86_64 \ - -D CMAKE_VERBOSE_MAKEFILE=true \ - -D BUILD_SHARED_LIBS=ON \ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}/build \ - --parallel 2 \ - --config RelWithDebInfo \ - --clean-first - - cmake --install ${{github.workspace}}/build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* - - - linux-arm: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v1 - with: - submodules: true - - - name: Setup - shell: bash - run: | - sudo rm -Rf /etc/apt/sources.list.d - sudo bash -c 'source /etc/lsb-release && echo " - deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe - deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe - deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe - - deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME} main universe - deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-updates main universe - deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-backports main universe - " > /etc/apt/sources.list' - - sudo dpkg --add-architecture armhf - sudo apt-get update -m - - sudo apt-get install \ - binutils-arm-linux-gnueabihf \ - gcc-arm-linux-gnueabihf - - sudo apt-get install \ - libx11-dev:armhf \ - libxtst-dev:armhf \ - libxt-dev:armhf \ - libxinerama-dev:armhf \ - libx11-xcb-dev:armhf \ - libxkbcommon-dev:armhf \ - libxkbcommon-x11-dev:armhf \ - libxkbfile-dev:armhf - - - name: Compile - env: - CC: arm-linux-gnueabihf-gcc - CFLAGS: '-Os -march=armv7ve -mfpu=vfp -mfloat-abi=hard -g -flto -fomit-frame-pointer -fno-stack-protector -pipe' - LDFLAGS: '-fuse-ld=gold -Wl,-O1 -Wl,--as-needed' - PKG_CONFIG_PATH: '/usr/lib/arm-linux-gnueabihf/pkgconfig' - shell: bash - run: | - cmake -B ${{github.workspace}}/build \ - -G "Unix Makefiles" \ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/linux/arm \ - -D CMAKE_VERBOSE_MAKEFILE=true \ - -D BUILD_SHARED_LIBS=ON \ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}/build \ - --parallel 2 \ - --config RelWithDebInfo \ - --clean-first - - cmake --install ${{github.workspace}}/build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* +# apple-arm64: +# runs-on: macos-latest +# +# steps: +# - name: Checkout +# uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Compile +# env: +# CC: clang +# CFLAGS: '-O2 -g -target arm64-apple-macos10.5 -flto -fomit-frame-pointer -fno-stack-protector -pipe' +# LDFLAGS: '-Wl,-dead_strip_dylibs' +# shell: bash +# run: | +# cmake -B ${{github.workspace}}/build \ +# -G "Unix Makefiles" \ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/darwin/arm64 \ +# -D CMAKE_VERBOSE_MAKEFILE=true \ +# -D BUILD_SHARED_LIBS=ON \ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}/build \ +# --parallel 2 \ +# --config RelWithDebInfo \ +# --clean-first +# +# cmake --install ${{github.workspace}}/build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/* +# +# apple-x86_64: +# runs-on: macos-latest +# +# steps: +# - name: Checkout +# uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Compile +# env: +# CC: clang +# CFLAGS: '-O2 -g -target x86_64-apple-macos10.5 -flto -fomit-frame-pointer -fno-stack-protector -pipe' +# LDFLAGS: '-Wl,-dead_strip_dylibs' +# shell: bash +# run: | +# cmake -B ${{github.workspace}}/build \ +# -G "Unix Makefiles" \ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/darwin/x86_64 \ +# -D CMAKE_VERBOSE_MAKEFILE=true \ +# -D BUILD_SHARED_LIBS=ON \ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}/build \ +# --parallel 2 \ +# --config RelWithDebInfo \ +# --clean-first +# +# cmake --install ${{github.workspace}}/build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/* +# +# +# linux-arm: +# runs-on: ubuntu-latest +# +# steps: +# - name: Checkout +# uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Setup +# shell: bash +# run: | +# sudo rm -Rf /etc/apt/sources.list.d +# sudo bash -c 'source /etc/lsb-release && echo " +# deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe +# deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe +# deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe +# +# deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME} main universe +# deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-updates main universe +# deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-backports main universe +# " > /etc/apt/sources.list' +# +# sudo dpkg --add-architecture armhf +# sudo apt-get update -m +# +# sudo apt-get install \ +# binutils-arm-linux-gnueabihf \ +# gcc-arm-linux-gnueabihf +# +# sudo apt-get install \ +# libx11-dev:armhf \ +# libxtst-dev:armhf \ +# libxt-dev:armhf \ +# libxinerama-dev:armhf \ +# libx11-xcb-dev:armhf \ +# libxkbcommon-dev:armhf \ +# libxkbcommon-x11-dev:armhf \ +# libxkbfile-dev:armhf +# +# - name: Compile +# env: +# CC: arm-linux-gnueabihf-gcc +# CFLAGS: '-Os -march=armv7ve -mfpu=vfp -mfloat-abi=hard -g -flto -fomit-frame-pointer -fno-stack-protector -pipe' +# LDFLAGS: '-fuse-ld=gold -Wl,-O1 -Wl,--as-needed' +# PKG_CONFIG_PATH: '/usr/lib/arm-linux-gnueabihf/pkgconfig' +# shell: bash +# run: | +# cmake -B ${{github.workspace}}/build \ +# -G "Unix Makefiles" \ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/linux/arm \ +# -D CMAKE_VERBOSE_MAKEFILE=true \ +# -D BUILD_SHARED_LIBS=ON \ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}/build \ +# --parallel 2 \ +# --config RelWithDebInfo \ +# --clean-first +# +# cmake --install ${{github.workspace}}/build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/* linux-arm64: runs-on: ubuntu-latest @@ -158,8 +158,11 @@ jobs: - name: Setup shell: bash run: | - sudo rm -Rf /etc/apt/sources.list.d + sudo rm -Rf /etc/apt/sources.list.d/* sudo bash -c 'source /etc/lsb-release && echo " + deb [arch=amd64,i386] https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu ${DISTRIB_CODENAME} main + deb [arch=arm64,armhf] https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu ${DISTRIB_CODENAME} main + deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe @@ -214,225 +217,225 @@ jobs: name: nightly-build path: ${{github.workspace}}/dist/**/* - linux-x86: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v1 - with: - submodules: true - - - name: Setup - shell: bash - run: | - sudo rm -Rf /etc/apt/sources.list.d - sudo bash -c 'source /etc/lsb-release && echo " - deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe - deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe - deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe - " > /etc/apt/sources.list' - - sudo dpkg --add-architecture i386 - sudo apt-get update -m - - sudo apt-get install \ - binutils-i686-linux-gnu \ - gcc-i686-linux-gnu - - sudo apt-get install \ - libx11-dev:i386 \ - libxtst-dev:i386 \ - libxt-dev:i386 \ - libxinerama-dev:i386 \ - libx11-xcb-dev:i386 \ - libxkbcommon-dev:i386 \ - libxkbcommon-x11-dev:i386 \ - libxkbfile-dev:i386 - - - name: Compile - env: - CC: i686-linux-gnu-gcc - CFLAGS: '-O2 -march=i686 -mtune=generic -g -fomit-frame-pointer -flto -fno-stack-protector -pipe' - LDFLAGS: '-fuse-ld=gold -Wl,-O1 -Wl,--as-needed' - PKG_CONFIG_PATH: '/usr/lib/i386-linux-gnu/pkgconfig' - shell: bash - run: | - cmake -B ${{github.workspace}}/build \ - -G "Unix Makefiles" \ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/linux/x86 \ - -D CMAKE_VERBOSE_MAKEFILE=true \ - -D BUILD_SHARED_LIBS=ON \ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}/build \ - --parallel 2 \ - --config RelWithDebInfo \ - --clean-first - - cmake --install ${{github.workspace}}/build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* - - linux-x86_64: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v1 - with: - submodules: true - - - name: Setup - shell: bash - run: | - sudo apt-get install \ - libx11-dev:amd64 \ - libxtst-dev:amd64 \ - libxt-dev:amd64 \ - libxinerama-dev:amd64 \ - libx11-xcb-dev:amd64 \ - libxkbcommon-dev:amd64 \ - libxkbcommon-x11-dev:amd64 \ - libxkbfile-dev:amd64 - - - name: Compile - env: - CC: x86_64-linux-gnu-gcc - CFLAGS: '-O2 -march=x86-64 -mtune=generic -g -fomit-frame-pointer -flto -fno-stack-protector -pipe' - LDFLAGS: '-fuse-ld=gold -Wl,-O1 -Wl,--as-needed' - PKG_CONFIG_PATH: '/usr/lib/x86_64-linux-gnu/pkgconfig' - shell: bash - run: | - cmake -B ${{github.workspace}}/build \ - -G "Unix Makefiles" \ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/linux/x86_64 \ - -D CMAKE_VERBOSE_MAKEFILE=true \ - -D BUILD_SHARED_LIBS=ON \ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}/build \ - --parallel 2 \ - --config RelWithDebInfo \ - --clean-first - - cmake --install ${{github.workspace}}/build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* - - - windows-arm: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v1 - with: - submodules: true - - - name: Setup - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: amd64_arm - - - name: Compile - shell: cmd - run: | - cmake -B ${{github.workspace}}\build ^ - -G "Visual Studio 17 2022" -A ARM ^ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}\dist\windows\arm ^ - -D CMAKE_VERBOSE_MAKEFILE=true ^ - -D BUILD_SHARED_LIBS=ON ^ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}\build ^ - --parallel 2 ^ - --config RelWithDebInfo ^ - --clean-first - - cmake --install ${{github.workspace}}\build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* - - windows-x86: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v1 - with: - submodules: true - - - name: Setup - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: amd64_x86 - - - name: Compile - shell: cmd - run: | - cmake -B ${{github.workspace}}\build ^ - -G "Visual Studio 17 2022" -A Win32 ^ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}\dist\windows\x86 ^ - -D CMAKE_VERBOSE_MAKEFILE=true ^ - -D BUILD_SHARED_LIBS=ON ^ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}\build ^ - --parallel 2 ^ - --config RelWithDebInfo ^ - --clean-first - - cmake --install ${{github.workspace}}\build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* - - windows-x86_64: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v1 - with: - submodules: true - - - name: Setup - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: amd64 - - - name: Compile - shell: cmd - run: | - cmake -B ${{github.workspace}}\build ^ - -G "Visual Studio 17 2022" -A x64 ^ - -D CMAKE_INSTALL_PREFIX=${{github.workspace}}\dist\windows\x86_64 ^ - -D CMAKE_VERBOSE_MAKEFILE=true ^ - -D BUILD_SHARED_LIBS=ON ^ - -D BUILD_DEMO=ON - - cmake --build ${{github.workspace}}\build ^ - --parallel 2 ^ - --config RelWithDebInfo ^ - --clean-first - - cmake --install ${{github.workspace}}\build --config RelWithDebInfo - - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: nightly-build - path: ${{github.workspace}}/dist/**/* +# linux-x86: +# runs-on: ubuntu-latest +# +# steps: +# - name: Checkout +# uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Setup +# shell: bash +# run: | +# sudo rm -Rf /etc/apt/sources.list.d +# sudo bash -c 'source /etc/lsb-release && echo " +# deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe +# deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe +# deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe +# " > /etc/apt/sources.list' +# +# sudo dpkg --add-architecture i386 +# sudo apt-get update -m +# +# sudo apt-get install \ +# binutils-i686-linux-gnu \ +# gcc-i686-linux-gnu +# +# sudo apt-get install \ +# libx11-dev:i386 \ +# libxtst-dev:i386 \ +# libxt-dev:i386 \ +# libxinerama-dev:i386 \ +# libx11-xcb-dev:i386 \ +# libxkbcommon-dev:i386 \ +# libxkbcommon-x11-dev:i386 \ +# libxkbfile-dev:i386 +# +# - name: Compile +# env: +# CC: i686-linux-gnu-gcc +# CFLAGS: '-O2 -march=i686 -mtune=generic -g -fomit-frame-pointer -flto -fno-stack-protector -pipe' +# LDFLAGS: '-fuse-ld=gold -Wl,-O1 -Wl,--as-needed' +# PKG_CONFIG_PATH: '/usr/lib/i386-linux-gnu/pkgconfig' +# shell: bash +# run: | +# cmake -B ${{github.workspace}}/build \ +# -G "Unix Makefiles" \ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/linux/x86 \ +# -D CMAKE_VERBOSE_MAKEFILE=true \ +# -D BUILD_SHARED_LIBS=ON \ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}/build \ +# --parallel 2 \ +# --config RelWithDebInfo \ +# --clean-first +# +# cmake --install ${{github.workspace}}/build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/* +# +# linux-x86_64: +# runs-on: ubuntu-latest +# +# steps: +# - name: Checkout +# uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Setup +# shell: bash +# run: | +# sudo apt-get install \ +# libx11-dev:amd64 \ +# libxtst-dev:amd64 \ +# libxt-dev:amd64 \ +# libxinerama-dev:amd64 \ +# libx11-xcb-dev:amd64 \ +# libxkbcommon-dev:amd64 \ +# libxkbcommon-x11-dev:amd64 \ +# libxkbfile-dev:amd64 +# +# - name: Compile +# env: +# CC: x86_64-linux-gnu-gcc +# CFLAGS: '-O2 -march=x86-64 -mtune=generic -g -fomit-frame-pointer -flto -fno-stack-protector -pipe' +# LDFLAGS: '-fuse-ld=gold -Wl,-O1 -Wl,--as-needed' +# PKG_CONFIG_PATH: '/usr/lib/x86_64-linux-gnu/pkgconfig' +# shell: bash +# run: | +# cmake -B ${{github.workspace}}/build \ +# -G "Unix Makefiles" \ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/linux/x86_64 \ +# -D CMAKE_VERBOSE_MAKEFILE=true \ +# -D BUILD_SHARED_LIBS=ON \ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}/build \ +# --parallel 2 \ +# --config RelWithDebInfo \ +# --clean-first +# +# cmake --install ${{github.workspace}}/build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/* +# +# +# windows-arm: +# runs-on: windows-latest +# +# steps: +# - uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Setup +# uses: ilammy/msvc-dev-cmd@v1 +# with: +# arch: amd64_arm +# +# - name: Compile +# shell: cmd +# run: | +# cmake -B ${{github.workspace}}\build ^ +# -G "Visual Studio 17 2022" -A ARM ^ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}\dist\windows\arm ^ +# -D CMAKE_VERBOSE_MAKEFILE=true ^ +# -D BUILD_SHARED_LIBS=ON ^ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}\build ^ +# --parallel 2 ^ +# --config RelWithDebInfo ^ +# --clean-first +# +# cmake --install ${{github.workspace}}\build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/* +# +# windows-x86: +# runs-on: windows-latest +# +# steps: +# - uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Setup +# uses: ilammy/msvc-dev-cmd@v1 +# with: +# arch: amd64_x86 +# +# - name: Compile +# shell: cmd +# run: | +# cmake -B ${{github.workspace}}\build ^ +# -G "Visual Studio 17 2022" -A Win32 ^ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}\dist\windows\x86 ^ +# -D CMAKE_VERBOSE_MAKEFILE=true ^ +# -D BUILD_SHARED_LIBS=ON ^ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}\build ^ +# --parallel 2 ^ +# --config RelWithDebInfo ^ +# --clean-first +# +# cmake --install ${{github.workspace}}\build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/* +# +# windows-x86_64: +# runs-on: windows-latest +# +# steps: +# - uses: actions/checkout@v1 +# with: +# submodules: true +# +# - name: Setup +# uses: ilammy/msvc-dev-cmd@v1 +# with: +# arch: amd64 +# +# - name: Compile +# shell: cmd +# run: | +# cmake -B ${{github.workspace}}\build ^ +# -G "Visual Studio 17 2022" -A x64 ^ +# -D CMAKE_INSTALL_PREFIX=${{github.workspace}}\dist\windows\x86_64 ^ +# -D CMAKE_VERBOSE_MAKEFILE=true ^ +# -D BUILD_SHARED_LIBS=ON ^ +# -D BUILD_DEMO=ON +# +# cmake --build ${{github.workspace}}\build ^ +# --parallel 2 ^ +# --config RelWithDebInfo ^ +# --clean-first +# +# cmake --install ${{github.workspace}}\build --config RelWithDebInfo +# +# - name: Upload +# uses: actions/upload-artifact@v2 +# with: +# name: nightly-build +# path: ${{github.workspace}}/dist/**/*