Skip to content

Commit

Permalink
Switch to gh-actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed May 21, 2024
1 parent fdae4b5 commit d7ece5c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 45 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Build Archive
on:
push:
branches: master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: windows-2022
steps:
- name: Build Archive
uses: ModOrganizer2/build-with-mob-action@master
with:
mo2-third-parties: 7z
mo2-dependencies: cmake_common
15 changes: 15 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint Archive
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format
uses: jidicula/clang-format-action@v4.12.0
with:
clang-format-version: "17"
check-path: "."
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
cmake_minimum_required(VERSION 3.16)

if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/mo2.cmake)
else()
include(${CMAKE_CURRENT_LIST_DIR}/../cmake_common/mo2.cmake)
endif()
include(${CMAKE_CURRENT_LIST_DIR}/../cmake_common/mo2.cmake)

project(archive)
add_subdirectory(src)
40 changes: 0 additions & 40 deletions appveyor.yml

This file was deleted.

0 comments on commit d7ece5c

Please sign in to comment.