Skip to content

Set version to 2.8.0. #865

Set version to 2.8.0.

Set version to 2.8.0. #865

Workflow file for this run

name: sw
on:
push:
paths:
- 'source/**'
- '.github/workflows/sw.yml' # for test purposes
pull_request:
paths:
- 'source/**'
- '.github/workflows/sw.yml' # for test purposes
jobs:
windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v1
- uses: egorpugin/sw-action@master
- run: ./sw build org.sw.demo.perl.perl
- name: build
run: ./sw build source -static
#- name: test
#run: ./sw test source
- name: Upload Binaries
uses: actions/upload-artifact@v3
with:
name: sw-windows
path: .sw/out
linux:
runs-on: ubuntu-22.04
container: fedora:latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: |
sudo dnf -y update
sudo dnf -y install flex bison cmake which gcc clang clang-tools-extra lld git \
lttng-tools-devel lttng-ust-devel libproxy-devel mesa-libGL-devel mesa-libEGL-devel \
libXfixes-devel libXtst-devel libXext-devel libXrender-devel libX11-devel pulseaudio-libs-devel \
cups-devel wayland-devel libxkbcommon-devel libXdamage-devel libXrandr-devel
- uses: egorpugin/sw-action@master
- run: ./sw -static build source -compiler gcc
- name: Upload Binaries
uses: actions/upload-artifact@v3
with:
name: sw-linux
path: .sw/out
macos:
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- uses: egorpugin/sw-action@master
- name: install
run: brew install flex bison gcc
- name: build
run: |
export PATH="/usr/local/opt/flex/bin:$PATH"
export PATH="/usr/local/opt/bison/bin:$PATH"
export PATH="/usr/local/opt/gcc/bin:$PATH"
./sw -static build source
- name: Upload Binaries
uses: actions/upload-artifact@v3
with:
name: sw-macos
path: .sw/out