diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..6a9c312 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,23 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a880c0..ed39831 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ #/**************************************************************************** # Copyright (c) 2013-2014 cocos2d-x.org -# Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md). +# Copyright (c) 2009-present Axmol Engine contributors (see AUTHORS.md). # # https://axmol.dev/ # @@ -269,4 +269,4 @@ if (_AX_USE_PREBUILT) # support windows and linux ax_link_cxx_prebuilt(${APP_NAME} ${_AX_ROOT} ${AX_PREBUILT_DIR}) endif() -ax_setup_app_props(${APP_NAME}) \ No newline at end of file +ax_setup_app_props(${APP_NAME})