mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-11-24 07:25:31 +00:00
CI stuff
This commit is contained in:
parent
789e6559cf
commit
33e60253d9
4
.github/workflows/ci-linux.yml
vendored
4
.github/workflows/ci-linux.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||
with:
|
||||
fallback: test
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: chdman-linux-${{ steps.previoustag.outputs.tag }}
|
||||
path: chdman
|
||||
|
4
.github/workflows/ci-macos.yml
vendored
4
.github/workflows/ci-macos.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
build-macos:
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: brew install ninja
|
||||
- name: Build
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||
with:
|
||||
fallback: test
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: chdman-macos-${{ steps.previoustag.outputs.tag }}
|
||||
path: chdman
|
58
.github/workflows/ci-msvc.yml
vendored
Normal file
58
.github/workflows/ci-msvc.yml
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
name: CI (Windows)
|
||||
|
||||
on:
|
||||
# push:
|
||||
# paths:
|
||||
# - '.github/**'
|
||||
# - '3rdparty/**'
|
||||
# - 'hash/**'
|
||||
# - 'scripts/**'
|
||||
# - 'src/**'
|
||||
# - 'CMakeLists.txt'
|
||||
# - 'cmake_subdirs/**'
|
||||
# pull_request:
|
||||
# paths:
|
||||
# - '.github/**'
|
||||
# - '3rdparty/**'
|
||||
# - 'hash/**'
|
||||
# - 'scripts/**'
|
||||
# - 'src/**'
|
||||
# - 'CMakeLists.txt'
|
||||
# - 'cmake_subdirs/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
build-windows-msvc:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest]
|
||||
platform: [Win32, x64]
|
||||
configuration: [Release, Release AVX2, CMake]
|
||||
experimental: [false]
|
||||
runs-on: windows-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: msys2 {0}
|
||||
steps:
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
install: git make mingw-w64-x86_64-gcc mingw-w64-x86_64-python mingw-w64-x86_64-lld mingw-w64-x86_64-libc++ mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
env:
|
||||
MINGW64: "/mingw64"
|
||||
ARCHOPTS: "-fuse-ld=lld"
|
||||
OVERRIDE_AR: "llvm-ar"
|
||||
run: |
|
||||
cmake -G Ninja
|
||||
ninja
|
||||
- name: 'Get Previous tag'
|
||||
id: previoustag
|
||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||
with:
|
||||
fallback: test
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: chdman-windows_x64-${{ steps.previoustag.outputs.tag }}
|
||||
path: chdman.exe
|
4
.github/workflows/ci-windows.yml
vendored
4
.github/workflows/ci-windows.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
install: git make mingw-w64-x86_64-gcc mingw-w64-x86_64-python mingw-w64-x86_64-lld mingw-w64-x86_64-libc++ mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
env:
|
||||
MINGW64: "/mingw64"
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||
with:
|
||||
fallback: test
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: chdman-windows_x64-${{ steps.previoustag.outputs.tag }}
|
||||
path: chdman.exe
|
Loading…
Reference in New Issue
Block a user