Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- master
host:
- ubuntu-22.04
cc:
- gcc
include:
- linux: master
host: ubuntu-24.04
cc: clang
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -35,14 +41,14 @@ jobs:
- run: sudo apt-get install -y libelf-dev ccache
- uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.linux }}
key: ${{ matrix.linux }}-${{ matrix.cc }}
- name: Configure kernel
run: |
make -C linux tinyconfig
make -C linux tinyconfig CC=${{ matrix.cc }}
echo -e "CONFIG_64BIT=y\nCONFIG_X86_64=y\nCONFIG_MODULES=y\nCONFIG_INPUT=y" > linux/kernel/configs/ci.config
make -C linux ci.config
- name: Run make -C linux
make -C linux ci.config CC=${{ matrix.cc }}
- name: Run make -C linux CC=${{ matrix.cc }}
run: |
export PATH="/usr/lib/ccache:$PATH"
make -C linux -j $(nproc)
- run: make -C tp_smapi modules KBUILD=../linux HDAPS=1
make -C linux -j $(nproc) CC=${{ matrix.cc }}
- run: make -C tp_smapi modules KBUILD=../linux HDAPS=1 CC=${{ matrix.cc }}
2 changes: 1 addition & 1 deletion tp_smapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static int smapi_request(u32 inEBX, u32 inECX,
"=m"(tmpEDI),
"=m"(tmpESI)
:"m"(inEBX), "m"(inECX), "m"(inEDI), "m"(inESI),
"m"((u16)smapi_port)
"m"(smapi_port)
:"%eax", "%ebx", "%ecx", "%edx", "%edi",
"%esi");

Expand Down