Skip to content

Commit 056bee7

Browse files
authored
CI: Separate master-flows for platform status (#26)
1 parent 4503eaf commit 056bee7

File tree

4 files changed

+85
-0
lines changed

4 files changed

+85
-0
lines changed

.github/workflows/macos.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: macOS
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: macOS-latest
11+
steps:
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 12.16.1
15+
- uses: actions/checkout@v1
16+
- name: Install esy
17+
run: npm install -g esy@latest
18+
- name: Build packages
19+
run: |
20+
esy '@fetch-core'
21+
esy '@fetch-native-lwt'
22+
- name: Run esy
23+
run: esy
24+
- name: Run tests
25+
run: esy test
26+
- name: Run example
27+
run: esy example

.github/workflows/ubuntu.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Ubuntu
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 12.16.1
15+
- uses: actions/checkout@v1
16+
- name: Install esy
17+
run: npm install -g esy@latest
18+
- name: Build packages
19+
run: |
20+
esy '@fetch-core'
21+
esy '@fetch-native-lwt'
22+
- name: Run esy
23+
run: esy
24+
- name: Run tests
25+
run: esy test
26+
- name: Run example
27+
run: esy example

.github/workflows/windows.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Windows
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: window-latest
11+
steps:
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 12.16.1
15+
- uses: actions/checkout@v1
16+
- name: Install esy
17+
run: npm install -g esy@latest
18+
- name: Build packages
19+
run: |
20+
esy '@fetch-core'
21+
esy '@fetch-native-lwt'
22+
- name: Run esy
23+
run: esy
24+
- name: Run tests
25+
run: esy test
26+
- name: Run example
27+
run: esy example

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Provides a functor for creating and providing your own Fetch-implementation. The
1515

1616
## [Fetch Native Lwt](./src/fetch-native-lwt)
1717

18+
![Windows](https://github.com/lessp/fetch/workflows/Windows/badge.svg)
19+
![macOS](https://github.com/lessp/fetch/workflows/macOS/badge.svg)
20+
![Ubuntu](https://github.com/lessp/fetch/workflows/Ubuntu/badge.svg)
21+
1822
A consumable fetch-library for ReasonML/OCaml native. Uses `Lwt` for its `Promise`-implementation.
1923

2024
## Contributing

0 commit comments

Comments
 (0)