Skip to content

Commit

Permalink
Use GitHub Actions to replace Appveyor CI (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
antiagainst authored Jan 22, 2022
1 parent 2510fc3 commit f5dede9
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 62 deletions.
61 changes: 0 additions & 61 deletions .appveyor.yml

This file was deleted.

103 changes: 103 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,106 @@ jobs:
with:
command: build
args: --target aarch64-apple-ios --verbose

test-windows-msvc-stable:
name: Stable on Windows (MSVC)
runs-on: windows-2022
steps:
- name: Checkout out repository
uses: actions/checkout@v2
with:
submodules: true

- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@master

- name: Install latest stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-pc-windows-msvc
override: true
components: rustfmt, clippy

- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-pc-windows-msvc --verbose

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose

test-windows-msvc-static-stable:
name: Stable on Windows (MSVC, static CRT)
runs-on: windows-2022
env:
RUSTFLAGS: "-C target-feature=+crt-static"
steps:
- name: Checkout out repository
uses: actions/checkout@v2
with:
submodules: true

- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@master

- name: Install latest stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-pc-windows-msvc
override: true
components: rustfmt, clippy

- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-pc-windows-msvc --verbose

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose

test-windows-gnu-stable:
name: Stable on Windows (GNU)
runs-on: windows-2022
steps:
- name: Checkout out repository
uses: actions/checkout@v2
with:
submodules: true

- name: Install MinGW
uses: egor-tensin/setup-mingw@v2
with:
platform: x64

- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@master

- name: Install latest stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-pc-windows-gnu
override: true
components: rustfmt, clippy

- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-pc-windows-gnu --verbose

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ shaderc-rs
[![Version](https://img.shields.io/crates/v/shaderc.svg)](https://crates.io/crates/shaderc)
[![Documentation](https://docs.rs/shaderc/badge.svg)](https://docs.rs/shaderc)
[![Build Status](https://travis-ci.org/google/shaderc-rs.svg?branch=master)](https://travis-ci.org/google/shaderc-rs)
[![Build status](https://ci.appveyor.com/api/projects/status/3la8yk6cgkh4jhu3/branch/master?svg=true)](https://ci.appveyor.com/project/antiagainst/shaderc-rs/branch/master)

Rust bindings for the [shaderc][shaderc] library.

Expand Down

0 comments on commit f5dede9

Please sign in to comment.