refactor: removed unused code #1238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration - development version | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
container: ghcr.io/thindil/build:10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run AdaControl - all checks | |
run: | | |
cd nim | |
nim debug | |
cd .. | |
mkdir obj | |
cd obj | |
adactl -f ../others/adacontrol/rules.aru -p ../steamsky.gpr -o ../adacontrol.log -r steamsky-tcl-cargv-chelper-unicode-sax-dom-input_sources | |
cd .. | |
- name: Upload the log | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: adacontrol.log | |
path: adacontrol.log | |
- name: Run the tests | |
run: others/tests.nims 30 | |
build_linux: | |
if: ${{ always() }} | |
needs: tests | |
runs-on: ubuntu-latest | |
container: ghcr.io/thindil/build:10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build the program | |
run: others/build.nims x86_64-linux-gnu | |
- name: Compress the artifact | |
run: tar -cf steamsky-development-linux.tar -C release steamsky-linux | |
- name: Upload the artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: steamsky-development-linux.tar | |
path: steamsky-development-linux.tar | |
build_windows: | |
if: ${{ always() }} | |
needs: tests | |
runs-on: ubuntu-latest | |
container: ghcr.io/thindil/buildwin64:10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build the program | |
run: others/build.nims x86_64-windows | |
- name: Compress the artifact | |
run: tar -cf steamsky-development-windows.tar -C release steamsky-windows | |
- name: Upload the artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: steamsky-development-windows.tar | |
path: steamsky-development-windows.tar |