From ff29bc458ee01af4bb2b03b462438de3f89aa9c9 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 8 Dec 2020 13:58:22 +0100 Subject: [PATCH 01/16] fcntl.h: register more constants on NetBSD --- include/kernel/netbsd/fcntl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/kernel/netbsd/fcntl.h b/include/kernel/netbsd/fcntl.h index 80456254..e04e4004 100644 --- a/include/kernel/netbsd/fcntl.h +++ b/include/kernel/netbsd/fcntl.h @@ -72,6 +72,10 @@ struct flock # define O_DSYNC 0x10000 # define O_RSYNC 0x20000 +# define O_DIRECTORY 0x200000 +# define O_CLOEXEC 0x400000 +# define O_SEARCH 0x800000 + # define O_RDONLY 0 # define O_WRONLY 1 # define O_RDWR 2 -- 2.20.1 From 08bc1c87946460a88ef8cfd8dda2d8f9f5166f7c Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 8 Dec 2020 13:58:47 +0100 Subject: [PATCH 02/16] Update the copyright notice --- include/kernel/netbsd/fcntl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kernel/netbsd/fcntl.h b/include/kernel/netbsd/fcntl.h index e04e4004..a760ffc5 100644 --- a/include/kernel/netbsd/fcntl.h +++ b/include/kernel/netbsd/fcntl.h @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2007-2017 Pierre Pronchery */ +/* Copyright (c) 2007-2020 Pierre Pronchery */ /* This file is part of DeforaOS System libc */ /* All rights reserved. * -- 2.20.1 From c2ba1e9e5f49abb68e1e7374c03305f23f987794 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 17 Dec 2020 00:49:50 +0100 Subject: [PATCH 03/16] Import and register the "distcheck" test from DeforaOS configure --- project.conf | 2 +- tests/distcheck.sh | 107 +++++++++++++++++++++++++++++++++++++++++++++ tests/project.conf | 10 ++++- 3 files changed, 116 insertions(+), 3 deletions(-) create mode 100755 tests/distcheck.sh diff --git a/project.conf b/project.conf index f3988d4e..a8b3c1a5 100644 --- a/project.conf +++ b/project.conf @@ -9,7 +9,7 @@ targets=tests #targets [tests] type=command -command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/tests.log"; else $(MAKE) clint.log fixme.log tests.log; fi) +command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/distcheck.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/tests.log"; else $(MAKE) clint.log distcheck.log fixme.log tests.log; fi) depends=all enabled=0 phony=1 diff --git a/tests/distcheck.sh b/tests/distcheck.sh new file mode 100755 index 00000000..5e158d82 --- /dev/null +++ b/tests/distcheck.sh @@ -0,0 +1,107 @@ +#!/bin/sh +#$Id$ +#Copyright (c) 2020 Pierre Pronchery +#This file is part of DeforaOS System libSystem +#All rights reserved. +# +#Redistribution and use in source and binary forms, with or without +#modification, are permitted provided that the following conditions are +#met: +# +#1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +#2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +#IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +#TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +#PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +#HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +#SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +#TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +#PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +#LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +#SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + +#variables +CONFIGSH="${0%/distcheck.sh}/../config.sh" +CFLAGS= +LDFLAGS= +PROGNAME="distcheck.sh" +TARGET="tests.log" +#executables +DATE="date" +[ -n "$MAKE" ] || MAKE="make" +MKDIR="mkdir -p" +MKTEMP="mktemp" +RM="rm -f" + +[ -f "$CONFIGSH" ] && . "$CONFIGSH" + + +#distcheck +_distcheck() +{ + (cd .. && $MAKE distcheck) +} + + +#date +_date() +{ + if [ -n "$SOURCE_DATE_EPOCH" ]; then + TZ=UTC $DATE -d "@$SOURCE_DATE_EPOCH" '+%a %b %d %T %Z %Y' + else + $DATE + fi +} + + +#usage +_usage() +{ + echo "Usage: $PROGNAME [-c] target..." 1>&2 + return 1 +} + + +#main +clean=0 +while getopts "cO:P:" name; do + case "$name" in + c) + clean=1 + ;; + O) + export "${OPTARG%%=*}"="${OPTARG#*=}" + ;; + P) + #XXX ignored + ;; + ?) + _usage + exit $? + ;; + esac +done +shift $((OPTIND - 1)) +if [ $# -eq 0 ]; then + _usage + exit $? +fi + +while [ $# -ne 0 ]; do + target="$1" + shift + + [ "$clean" -eq 0 ] || break + + (_date; echo; _distcheck) > "$target" || exit 2 +done +exit 0 diff --git a/tests/project.conf b/tests/project.conf index de81d432..9243f0cc 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -1,10 +1,10 @@ -targets=clint.log,coverage.log,ctype,dlfcn,errno,fixme.log,fnmatch,iconv,includes,inttypes,langinfo,math,mman,msg,netdb,ptrace,pwd,regex,resource,rt,select,setjmp,shm,signal,socket,ssp,start,stdarg,stdint,stdio,stdlib,string,strings,time,tests.log,unistd,utsname +targets=clint.log,coverage.log,ctype,distcheck.log,dlfcn,errno,fixme.log,fnmatch,iconv,includes,inttypes,langinfo,math,mman,msg,netdb,ptrace,pwd,regex,resource,rt,select,setjmp,shm,signal,socket,ssp,start,stdarg,stdint,stdio,stdlib,string,strings,time,tests.log,unistd,utsname cppflags_force=-nostdinc -isystem ../include cflags_force=-ffreestanding cflags=-W -Wall -g -O2 -fPIE -fstack-protector ldflags_force=-nostdlib -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src $(OBJDIR)../src/start.o $(OBJDIR)../src/crti.o $(OBJDIR)../src/crtbegin.o -lc $(OBJDIR)../src/ssp/libssp.a $(OBJDIR)../src/crtend.o $(OBJDIR)../src/crtn.o `$(CC) -print-libgcc-file-name` ldflags=-pie -Wl,-z,relro -Wl,-z,now -dist=Makefile,clint.sh,coverage.sh,cross.sh,fixme.sh,tests.sh +dist=Makefile,clint.sh,coverage.sh,cross.sh,distcheck.sh,fixme.sh,tests.sh #targets [clint.log] @@ -24,6 +24,12 @@ depends=coverage.sh type=binary sources=ctype.c +[distcheck.log] +type=script +script=./distcheck.sh +depends=$(OBJDIR)../src/libc.a,$(OBJDIR)../src/start.o,distcheck.sh +enabled=0 + [dlfcn] type=binary cppflags=-isystem ../include/dl -- 2.20.1 From 1bc9f6746a1aedba7e156bab4b43b7854f31ea8f Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 17 Dec 2020 00:50:13 +0100 Subject: [PATCH 04/16] Register the "distcheck" test --- tests/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/.gitignore b/tests/.gitignore index 149e24e3..7f2a93b1 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1,6 +1,7 @@ /clint.log /coverage.log /ctype +/distcheck.log /dlfcn /errno /fixme.log -- 2.20.1 From 5aa4f33ca5b3563bebb05e8daaffa769f17a7501 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 19 Dec 2020 02:16:42 +0100 Subject: [PATCH 05/16] List the supported kernels in an intermediate folder This will facilitate projects embedding libc (eg uKernel) to ship this part of the code. --- src/kernel/project.conf | 2 ++ src/project.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/kernel/project.conf diff --git a/src/kernel/project.conf b/src/kernel/project.conf new file mode 100644 index 00000000..3d6fa707 --- /dev/null +++ b/src/kernel/project.conf @@ -0,0 +1,2 @@ +subdirs=darwin,deforaos,freebsd,linux,netbsd,openbsd,solaris,whitix +dist=Makefile diff --git a/src/project.conf b/src/project.conf index 24092924..6c62682c 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,4 +1,4 @@ -subdirs=kernel/darwin,kernel/deforaos,kernel/freebsd,kernel/linux,kernel/netbsd,kernel/openbsd,kernel/solaris,kernel/whitix +subdirs=kernel targets=crtbegin.o,crtend.o,crti.o,crtn.o,libc,start.o as=$(CC) cppflags_force=-nostdinc -isystem ../include -- 2.20.1 From 10d2ac5189f8e12ef816a99e852d9204da3563fa Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 27 Dec 2020 01:33:20 +0100 Subject: [PATCH 06/16] Fix building for DeforaOS on macOS --- src/kernel/deforaos/i386/syscalls.S | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/kernel/deforaos/i386/syscalls.S b/src/kernel/deforaos/i386/syscalls.S index 07826b2c..f5b661a7 100644 --- a/src/kernel/deforaos/i386/syscalls.S +++ b/src/kernel/deforaos/i386/syscalls.S @@ -33,20 +33,31 @@ /* macros */ #ifndef SYSCALL -# define SYSCALL(name) \ +# ifdef __APPLE__ +# define SYSCALL(name) \ +.global name; \ +name:; \ + movl $ENOSYS, errno; \ + mov $-1, %eax; \ + ret +# else +# define SYSCALL(name) \ .global name; \ .type name,@function; \ name:; \ movl $ENOSYS, errno; \ mov $-1, %eax; \ ret +# endif #endif /* functions */ /* _brk */ .global _brk +#ifndef __APPLE__ .type _brk,@function +#endif _brk: xor %eax, %eax ret @@ -55,7 +66,9 @@ _brk: /* _exit */ .global _exit +#ifndef __APPLE__ .type _exit,@function +#endif _exit: /* infinite loop */ cli -- 2.20.1 From d0151c5fd129a3a0a4cc5608c3ee9a53d58121e1 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 27 Dec 2020 01:33:46 +0100 Subject: [PATCH 07/16] Update the copyright notice --- src/kernel/deforaos/i386/syscalls.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/deforaos/i386/syscalls.S b/src/kernel/deforaos/i386/syscalls.S index f5b661a7..acae3675 100644 --- a/src/kernel/deforaos/i386/syscalls.S +++ b/src/kernel/deforaos/i386/syscalls.S @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2019 Pierre Pronchery */ +/* Copyright (c) 2019-2020 Pierre Pronchery */ /* This file is part of DeforaOS System libc */ /* All rights reserved. * -- 2.20.1 From 118091bb84322f6433871d0499091cf414caf6fb Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 27 Dec 2020 04:04:23 +0100 Subject: [PATCH 08/16] Fix building for DeforaOS with clang This is probably a more accurate fix than just for macOS. --- src/kernel/deforaos/i386/syscalls.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kernel/deforaos/i386/syscalls.S b/src/kernel/deforaos/i386/syscalls.S index acae3675..79692372 100644 --- a/src/kernel/deforaos/i386/syscalls.S +++ b/src/kernel/deforaos/i386/syscalls.S @@ -33,7 +33,7 @@ /* macros */ #ifndef SYSCALL -# ifdef __APPLE__ +# ifdef __clang__ # define SYSCALL(name) \ .global name; \ name:; \ @@ -55,7 +55,7 @@ name:; \ /* functions */ /* _brk */ .global _brk -#ifndef __APPLE__ +#ifndef __clang__ .type _brk,@function #endif _brk: @@ -66,7 +66,7 @@ _brk: /* _exit */ .global _exit -#ifndef __APPLE__ +#ifndef __clang__ .type _exit,@function #endif _exit: -- 2.20.1 From 3013eaa6ffac3bdf702a2fafccefa880b1de4c20 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 27 Dec 2020 04:05:06 +0100 Subject: [PATCH 09/16] Avoid a compilation warning --- src/dlfcn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlfcn.c b/src/dlfcn.c index 757610b4..bb471384 100644 --- a/src/dlfcn.c +++ b/src/dlfcn.c @@ -512,7 +512,7 @@ static void _file_relocations_arch(DL * dl, Elf_Rela * rela, /* FIXME implement */ break; case R_386_RELATIVE: - addr = dl->data_addr + rela->r_offset; + addr = (Elf_Addr *)(dl->data_addr + rela->r_offset); *addr += dl->data_addr; break; } -- 2.20.1 From a44886b685003fc4aa6ae73b1473b1e3fc350cbc Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 27 Dec 2020 04:05:17 +0100 Subject: [PATCH 10/16] Update the copyright notice --- src/dlfcn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlfcn.c b/src/dlfcn.c index bb471384..340a7eb1 100644 --- a/src/dlfcn.c +++ b/src/dlfcn.c @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2007-2018 Pierre Pronchery */ +/* Copyright (c) 2007-2020 Pierre Pronchery */ /* This file is part of DeforaOS System libc */ /* All rights reserved. * -- 2.20.1 From b2682d8a0e75bdcce499e61ca85bdf73d70f7e46 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 23 Jan 2021 23:34:13 +0100 Subject: [PATCH 11/16] Code cleanup --- doc/.gitignore | 5 ----- doc/gtkdoc/.gitignore | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 doc/.gitignore create mode 100644 doc/gtkdoc/.gitignore diff --git a/doc/.gitignore b/doc/.gitignore deleted file mode 100644 index 53990065..00000000 --- a/doc/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/gtkdoc/html -/gtkdoc/html.stamp -/gtkdoc/libc.types -/gtkdoc/tmpl.stamp -/gtkdoc/xml.stamp diff --git a/doc/gtkdoc/.gitignore b/doc/gtkdoc/.gitignore new file mode 100644 index 00000000..29ab7a79 --- /dev/null +++ b/doc/gtkdoc/.gitignore @@ -0,0 +1,5 @@ +/html +/html.stamp +/libc.types +/tmpl.stamp +/xml.stamp -- 2.20.1 From cfcc1c72115280953ba5ca2f545187077756597b Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 17 Sep 2021 08:15:17 +0200 Subject: [PATCH 12/16] Add SYS_unmount on macOS --- include/kernel/darwin/sys/syscall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/kernel/darwin/sys/syscall.h b/include/kernel/darwin/sys/syscall.h index a6001751..50df40c2 100644 --- a/include/kernel/darwin/sys/syscall.h +++ b/include/kernel/darwin/sys/syscall.h @@ -90,6 +90,7 @@ # define SYS_rmdir 137 # define SYS_utimes 138 # define SYS_setsid 147 +# define SYS_unmount 159 # define SYS_setgid 181 # define SYS_stat 188 # define SYS_fstat 189 -- 2.20.1 From b837a9a8a09341129ecfa0fa45d6ae0fb09cf8ec Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 17 Sep 2021 08:15:36 +0200 Subject: [PATCH 13/16] Update the copyright notice --- include/kernel/darwin/sys/syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kernel/darwin/sys/syscall.h b/include/kernel/darwin/sys/syscall.h index 50df40c2..59c8fc90 100644 --- a/include/kernel/darwin/sys/syscall.h +++ b/include/kernel/darwin/sys/syscall.h @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2016-2020 Pierre Pronchery */ +/* Copyright (c) 2016-2021 Pierre Pronchery */ /* This file is part of DeforaOS System libc */ /* All rights reserved. * -- 2.20.1 From d22d5f9bbe751d8ca4b871fc662df98dec523dc7 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 17 Sep 2021 08:15:48 +0200 Subject: [PATCH 14/16] Update the scripts from DeforaOS configure --- tests/clint.sh | 40 ++++++++++++++++++++++++---------------- tests/fixme.sh | 6 +----- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/tests/clint.sh b/tests/clint.sh index a7d22bad..04727c61 100755 --- a/tests/clint.sh +++ b/tests/clint.sh @@ -1,6 +1,6 @@ #!/bin/sh #$Id$ -#Copyright (c) 2016-2020 Pierre Pronchery +#Copyright (c) 2016-2021 Pierre Pronchery # #Redistribution and use in source and binary forms, with or without #modification, are permitted provided that the following conditions are met: @@ -33,6 +33,7 @@ PROJECTCONF="../project.conf" #executables DATE="date" DEBUG="_debug" +ECHO="/bin/echo" FIND="find" GREP="grep" LINT="lint -g" @@ -68,41 +69,52 @@ _clint() fi for subdir in $subdirs; do [ -d "../$subdir" ] || continue - for filename in $($FIND "../$subdir" -type f | $SORT); do + while read filename; do + [ -n "$filename" ] || continue + r=0 case "$filename" in *.c) echo - (_clint_lint "$filename"; - _clint_rtrim "$filename") + _clint_lint "$filename" || r=$? + _clint_rtrim "$filename"|| r=$? ;; *.h) echo echo "$filename:" - (_clint_rtrim "$filename") + _clint_rtrim "$filename"|| r=$? ;; *) continue ;; esac - if [ $? -ne 0 ]; then + if [ $r -eq 0 ]; then + echo " OK" + echo "$PROGNAME: $filename: OK" 1>&2 + else echo "FAIL" echo "$PROGNAME: $filename: FAIL" 1>&2 res=2 - else - echo "OK" fi - done + done << EOF +$($FIND "../$subdir" -type f | $SORT) +EOF done return $res } _clint_lint() -{ +{( filename="$1" - echo -n "${filename%/*}/" + $ECHO -n "${filename%/*}/" $DEBUG $LINT $CPPFLAGS $CFLAGS "$filename" 2>&1 -} + ret=$? + if [ $ret -eq 127 ]; then + #XXX ignore errors when $LINT is not available + ret=0 + fi + return $ret +)} _clint_rtrim() { @@ -118,10 +130,6 @@ _debug() { echo "$@" 1>&3 "$@" - res=$? - #ignore errors when the command is not available - [ $res -eq 127 ] && return 0 - return $res } diff --git a/tests/fixme.sh b/tests/fixme.sh index 84319cf0..0d15f7d6 100755 --- a/tests/fixme.sh +++ b/tests/fixme.sh @@ -1,6 +1,6 @@ #!/bin/sh #$Id$ -#Copyright (c) 2017-2020 Pierre Pronchery +#Copyright (c) 2017-2021 Pierre Pronchery # #Redistribution and use in source and binary forms, with or without #modification, are permitted provided that the following conditions are met: @@ -199,10 +199,6 @@ _debug() { echo "$@" 1>&3 "$@" - res=$? - #ignore errors when the command is not available - [ $res -eq 127 ] && return 0 - return $res } -- 2.20.1 From 8f9dd8c3f288232a292ffce407b08bb5dfbfd274 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 9 Oct 2021 00:42:54 +0200 Subject: [PATCH 15/16] Update the copyright notice --- tests/coverage.sh | 2 +- tests/distcheck.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/coverage.sh b/tests/coverage.sh index 47ca5170..3807bda9 100755 --- a/tests/coverage.sh +++ b/tests/coverage.sh @@ -1,7 +1,7 @@ #!/bin/sh #$Id$ #Copyright (c) 2018-2020 Pierre Pronchery -#This file is part of DeforaOS System libSystem +#This file is part of DeforaOS System libc #All rights reserved. # #Redistribution and use in source and binary forms, with or without diff --git a/tests/distcheck.sh b/tests/distcheck.sh index 5e158d82..98d3090b 100755 --- a/tests/distcheck.sh +++ b/tests/distcheck.sh @@ -1,7 +1,7 @@ #!/bin/sh #$Id$ #Copyright (c) 2020 Pierre Pronchery -#This file is part of DeforaOS System libSystem +#This file is part of DeforaOS System libc #All rights reserved. # #Redistribution and use in source and binary forms, with or without -- 2.20.1 From 7e07cf4c3fec04fa840d2cc5d74e86c1ee009ca9 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 10 May 2022 02:14:05 +0200 Subject: [PATCH 16/16] Create deforaos-c-ci_ubuntu-latest.yml --- .../workflows/deforaos-c-ci_ubuntu-latest.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/deforaos-c-ci_ubuntu-latest.yml diff --git a/.github/workflows/deforaos-c-ci_ubuntu-latest.yml b/.github/workflows/deforaos-c-ci_ubuntu-latest.yml new file mode 100644 index 00000000..95caec02 --- /dev/null +++ b/.github/workflows/deforaos-c-ci_ubuntu-latest.yml @@ -0,0 +1,21 @@ +name: DeforaOS C CI (ubuntu-latest) + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: make + run: make + - name: make tests + run: make tests + - name: make distcheck + run: make distcheck -- 2.20.1