Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Aug 9, 2024
1 parent ef9b2a4 commit 7560728
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ow-libc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@ on:
push:
paths:
- 'libc/**'
- 'elks/include/**'
- 'elks/tools/objtools/**'
- 'include/**'
- 'elkscmd/basic/**'
- '.github/workflows/ow-libc.yml'
pull_request:
paths:
- 'libc/**'
- 'elks/include/**'
- 'elks/tools/objtools/**'
- 'include/**'
- 'elkscmd/basic/**'
- '.github/workflows/ow-libc.yml'
env:
TOPDIR: ${{ github.workspace }}
TOOLDIR: ${{ github.workspace }}/elks/tools/objtools
SAMPLEDIR: ${{ github.workspace }}/elkscmd/rootfs_template/root

jobs:
build:
Expand Down Expand Up @@ -38,12 +48,12 @@ jobs:
run: |
make -f watcom.mk clean
make -f watcom.mk
- name: build smples
- name: build ELKS samples
working-directory: elkscmd/basic
run: |
$GITHUB_WORKSPACE/elks/tools/objtools/ewcc basic.c
$GITHUB_WORKSPACE/elks/tools/objtools/ewcc host.c
$GITHUB_WORKSPACE/elks/tools/objtools/ewcc host-stubs.c
$GITHUB_WORKSPACE/elks/tools/objtools/ewlink basic.obj host.obj host-stubs.obj
cp basic.os2 $GITHUB_WORKSPACE/elkscmd/rootfs_template/root
$TOOLDIR/ewcc basic.c
$TOOLDIR/ewcc host.c
$TOOLDIR/ewcc host-stubs.c
$TOOLDIR/ewlink basic.obj host.obj host-stubs.obj
cp basic.os2 $SAMPLEDIR

0 comments on commit 7560728

Please sign in to comment.