Skip to content

Commit

Permalink
Merge pull request #225 from snoyberg/libyaml-clib
Browse files Browse the repository at this point in the history
Update CI for #224
  • Loading branch information
snoyberg committed Mar 15, 2024
2 parents 8d69bbb + e9d34ec commit d6e98c6
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 12,878 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
resolver: [nightly, lts-20, lts-15, lts-14, lts-12, lts-11]
resolver: [nightly, lts-22, lts-20, lts-17]
exclude:
- os: windows-latest
resolver: lts-15
- os: windows-latest
resolver: nightly
include:
- os: ubuntu-latest
resolver: lts-9
# problems on macOS and Windows (https://github.com/snoyberg/yaml/pull/216#issuecomment-1585522312)

steps:
- name: Clone project
Expand Down
5 changes: 5 additions & 0 deletions libyaml/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog for libyaml

## 0.1.4

* Use libyaml-clib for the cbits
* Use pkg-config to link to system yaml

## 0.1.3

* Correct signature for `fclose`
Expand Down
10 changes: 0 additions & 10 deletions libyaml/copy-libyaml.sh

This file was deleted.

26 changes: 6 additions & 20 deletions libyaml/libyaml.cabal
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.1.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: a4a2ff005241200ba50deeae68beae02301af696425274c2ed0c3cb59b07d0ac

name: libyaml
version: 0.1.3
version: 0.1.4
synopsis: Low-level, streaming YAML interface.
description: README and API documentation are available at <https://www.stackage.org/package/libyaml>
category: Text
Expand All @@ -21,9 +19,6 @@ license-file: LICENSE
build-type: Simple
extra-source-files:
include/helper.h
libyaml_src/yaml_private.h
libyaml_src/yaml.h
libyaml_src/LICENSE
README.md
ChangeLog.md

Expand Down Expand Up @@ -62,20 +57,11 @@ library
if flag(no-unicode)
cpp-options: -D__NO_UNICODE__
if !(flag(system-libyaml))
include-dirs:
libyaml_src
c-sources:
libyaml_src/api.c
libyaml_src/dumper.c
libyaml_src/emitter.c
libyaml_src/loader.c
libyaml_src/parser.c
libyaml_src/reader.c
libyaml_src/scanner.c
libyaml_src/writer.c
build-depends:
libyaml-clib
else
extra-libraries:
yaml
pkgconfig-depends:
yaml-0.1
if os(windows)
cpp-options: -DWINDOWS
build-depends:
Expand Down
20 changes: 0 additions & 20 deletions libyaml/libyaml_src/LICENSE

This file was deleted.

Loading

0 comments on commit d6e98c6

Please sign in to comment.