Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Add GETCWD and SETCWD macros for getting and changing the working directory #244

Add GETCWD and SETCWD macros for getting and changing the working directory

Add GETCWD and SETCWD macros for getting and changing the working directory #244

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-linux-gcc:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: build
run: |
$CC nobuild.c -o nobuild
./nobuild
env:
CC: gcc
CXX: g++
build-linux-clang:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: build
run: |
$CC nobuild.c -o nobuild
./nobuild
env:
CC: clang
CXX: clang++
build-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: build
run: |
$CC nobuild.c -o nobuild
./nobuild
env:
CC: clang
CXX: clang++
build-windows-msvc:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
# this runs vcvarsall for us, so we get the MSVC toolchain in PATH.
- uses: seanmiddleditch/gha-setup-vsdevenv@master
- name: build
shell: cmd
# this replaces default PowerShell, which can't fail the build
run: |
cl.exe nobuild.c
.\nobuild.exe test