Skip to content

Commit

Permalink
CI: Use owcc compiler with options for i386
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasperal committed Jun 14, 2024
1 parent 0ea6594 commit d84e9ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
runner: "ubuntu-22.04"
shell: "bash"
watcom_version: "1.9"
compiler_name: "owcc"
cmake_preset: "ci-watcom"
build_suffix: "watcom-1.9"
# -
Expand All @@ -32,6 +33,7 @@ jobs:
# shell: "bash"
# watcom_version: "2.0"
# watcom_tag: "current"
# compiler_name: "owcc"
# cmake_preset: "ci-watcom"
# build_suffix: "watcom-2.0-last"
-
Expand All @@ -40,6 +42,7 @@ jobs:
shell: "bash"
watcom_version: "2.0"
watcom_tag: "last"
compiler_name: "owcc"
cmake_preset: "ci-watcom"
build_suffix: "watcom-2.0-master"

Expand All @@ -58,8 +61,8 @@ jobs:

- name: Configure & Build
id: configure
# env:
# CC: ${{ matrix.config.compiler_name }}
env:
CC: ${{ matrix.config.compiler_name }}
run: |
rev_number=$(git rev-list --count HEAD)
cmake --workflow --preset "${{ matrix.config.cmake_preset }}"
Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ set_target_properties(rusdoom PROPERTIES
)

target_compile_options(rusdoom PRIVATE
-march=i386
-mtune=i386
-Wall
-Wno-n303
)
Expand Down

0 comments on commit d84e9ed

Please sign in to comment.